hanchenye-llvm-project/clang/lib/Parse
Michael Han 9407e50b04 Improve diagnostic on C++11 attribute specifiers that appear at wrong syntactic locations around class specifiers.
This change list implemented logic that explicitly detects several combinations of locations where C++11 attribute
specifiers might be incorrectly placed within a class specifier. Previously we emit generic diagnostics like 
"expected identifier" for such cases; now we emit specific diagnostic against the misplaced attributes, this also 
fixed a bug in old code where attributes appear at legitimate locations were incorrectly rejected.

Thanks to Richard Smith for reviewing!

llvm-svn: 168626
2012-11-26 22:54:45 +00:00
..
CMakeLists.txt clang/lib: [CMake] Update tblgen'd dependencies. 2012-07-27 06:18:33 +00:00
Makefile
ParseAST.cpp Have the parser initialize Sema before it consumes the first 2012-11-05 23:58:27 +00:00
ParseCXXInlineMethods.cpp Now that ASTMultiPtr is nothing more than a array reference, make it a MutableArrayRef. 2012-08-23 23:38:35 +00:00
ParseDecl.cpp Improve diagnostic on C++11 attribute specifiers that appear at wrong syntactic locations around class specifiers. 2012-11-26 22:54:45 +00:00
ParseDeclCXX.cpp Improve diagnostic on C++11 attribute specifiers that appear at wrong syntactic locations around class specifiers. 2012-11-26 22:54:45 +00:00
ParseExpr.cpp Fixed FunctionTypeLoc source range. 2012-10-04 21:42:10 +00:00
ParseExprCXX.cpp When finding a '(' after '::', emit error with hint to remove '(' and matching 2012-11-02 01:08:58 +00:00
ParseInit.cpp Now that ASTMultiPtr is nothing more than a array reference, make it a MutableArrayRef. 2012-08-23 23:38:35 +00:00
ParseObjc.cpp objective-C: improve on warnings about misplacement of method 2012-09-17 23:09:59 +00:00
ParsePragma.cpp Permanently end the whole "pragma got handled by the parser too early" 2012-10-04 02:36:51 +00:00
ParsePragma.h Permanently end the whole "pragma got handled by the parser too early" 2012-10-04 02:36:51 +00:00
ParseStmt.cpp PR14381: Never skip constexpr function bodies when code-completing. We may need 2012-11-19 21:13:18 +00:00
ParseTemplate.cpp ParseTemplate.cpp: Prune obsolete descriptions in ParseSingleDeclarationAfterTemplate(), for now. [-Wdocumentation] 2012-11-14 21:45:43 +00:00
ParseTentative.cpp Accept and pass arguments to __unknown_anytype in argument 2012-11-14 00:49:39 +00:00
Parser.cpp Made the "expected string literal" diagnostic more expressive 2012-11-17 19:16:52 +00:00
RAIIObjectsForParser.h Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments. 2012-09-15 20:20:27 +00:00