On Jul 10, 2012, at 10:16 PM, Rafael Espíndola wrote: >> Could this code just reasonably be moved to ActOnTagFinishDefinition? > > Looks like it can.
In that case, I don't think you need any of these checks there except, maybe, isa<CXXRecordDecl>(CurContext); I believe ActOnTagFinishDefinition is called exclusively by the parser. Hmm. I tend to think that this pragma should also apply to enum definitions within its scope. Is that not what GCC does? John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
