We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfa995c commit ed1af8eCopy full SHA for ed1af8e
c2rust-ast-exporter/src/AstExporter.cpp
@@ -91,7 +91,7 @@ Optional<APSInt> getIntegerConstantExpr(const Expr &E, const ASTContext &Ctx) {
91
if (E.isIntegerConstantExpr(value, Ctx))
92
return {value};
93
else
94
- return {};
+ return Optional<APSInt>();
95
#else
96
return E.getIntegerConstantExpr(Ctx);
97
#endif // CLANG_VERSION_MAJOR
0 commit comments