DescriptionClang plugin: defer checking of tag decls until after top-level decl fully parsed
It turns out that a CXXRecordDecl can change between the call to
HandleTagDeclDefinition and HandleTopLevelDecl. This happens in the
case of nested class declarations, causing us to fail to emit warnings
in some cases (see the test). See crbug.com/136863 for the full discussion.
BUG=136863
TEST=tools/clang/plugins/tests/test.sh
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148070
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|