================
@@ -2381,6 +2384,15 @@ class ASTContext : public RefCountedBase<ASTContext> {
return getTagDeclType(MSGuidTagDecl);
}
+ /// Retrieve the implicitly-predeclared 'struct type_info' declaration.
+ TagDecl *getMSTypeInfoTagDecl() const {
+ // Lazily create this type on demand - it's only needed for MS builds.
----------------
erichkeane wrote:
AFAIK: we can't do a static-local. That ends up causing problems with
multiple-loads of the AST/loading from serialization/etc.
https://github.com/llvm/llvm-project/pull/151277
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits