We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da08b96 commit fcec8b5Copy full SHA for fcec8b5
lib/AST/ASTContext.cpp
@@ -995,7 +995,8 @@ DECL_CLASS *ASTContext::get##NAME##Decl() const { \
995
} \
996
997
998
- return synthesizeBuiltinDecl<DECL_CLASS>(*this, #NAME); \
+ getImpl().NAME##Decl = synthesizeBuiltinDecl<DECL_CLASS>(*this, #NAME); \
999
+ return getImpl().NAME##Decl; \
1000
1001
\
1002
Type ASTContext::get##NAME##Type() const { \
0 commit comments