llvm-project/clang/lib
Alexis Hunt 6aa9beef50 Clean up a large number of C++11 attribute parse issues, including parsing
attributes in more places where we didn't and catching a lot more issues.

This implements nearly every aspect of C++11 attribute parsing, except for:
 - Attributes are permitted on explicit instantiations inside the declarator
   (but not preceding the decl-spec)
 - Attributes are permitted on friend declarations of functions.
 - Multiple instances of the same attribute in an attribute-list (e.g.
   [[noreturn, noreturn]], not [[noreturn]] [[noreturn]] which is conforming)
   are allowed.
The first two are marked as expected-FIXME in the test file and the latter
is probably a defect and is currently untested.

Thanks to Richard Smith for providing the lion's share of the testcases.

llvm-svn: 159072
2012-06-23 05:07:58 +00:00
..
ARCMigrate Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
AST Support L__FUNCTION__ in microsoft mode, PR11789 2012-06-23 02:07:59 +00:00
Analysis Thread safety analysis: fixes a bug in which locksets are not handled 2012-06-22 17:07:28 +00:00
Basic Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
CodeGen Support L__FUNCTION__ in microsoft mode, PR11789 2012-06-23 02:07:59 +00:00
Driver Adjust this code so that it strictly honors 2012-06-21 17:46:38 +00:00
Edit Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
Frontend Documentation cleanup: escape \ characters in Doxygen comments as needed. 2012-06-22 05:33:23 +00:00
FrontendTool Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
Headers Headers/xopintrin.h: Try to fix r158492. Did you mean, mm256? 2012-06-15 13:37:44 +00:00
Lex Minor improvements to some C99 variadic-macro-related diagnostics. 2012-06-22 23:59:08 +00:00
Parse Clean up a large number of C++11 attribute parse issues, including parsing 2012-06-23 05:07:58 +00:00
Rewrite Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
Sema Support L__FUNCTION__ in microsoft mode, PR11789 2012-06-23 02:07:59 +00:00
Serialization Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
StaticAnalyzer Implement initial static analysis inlining support for C++ methods. 2012-06-22 23:55:50 +00:00
Tooling Remove a goofy CMake hack and use the standard CMake facilities to 2012-06-21 01:30:21 +00:00
CMakeLists.txt Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00
Makefile Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00