OK, this seems like a clear step forward.
================
Comment at: lib/Sema/SemaTemplateInstantiateDecl.cpp:4440
@@ +4439,3 @@
+ if (const TagDecl *TD = dyn_cast<TagDecl>(D)) {
+ Decl *Inst = SubstDecl(D, CurContext, TemplateArgs);
+ CurrentInstantiationScope->InstantiatedLocal(D, Inst);
----------------
Is there anything we can assert here to check that we're not accidentally
taking this codepath for a tag decl that should be separately instantiated?
http://reviews.llvm.org/D8281
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits