summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx11-stmt-attributes.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Diagnose C++11 attributes before fp_contract pragmas.Richard Smith2013-11-151-0/+5
| | | | llvm-svn: 194850
* PR15300: Support C++11 attributes on base-specifiers. We don't support any suchRichard Smith2013-02-191-20/+20
| | | | | | | | attributes yet, so just issue the appropriate diagnostics. Also generalize the fixit for attributes-in-the-wrong-place code and reuse it here, if attributes are placed after the access-specifier or 'virtual' in a base specifier. llvm-svn: 175575
* Treat alignas and _Alignas as keyword attributes. This allows us toRichard Smith2013-01-291-1/+1
| | | | | | | pretty-print them properly (modulo the more general badness in alignment attribute printing). llvm-svn: 173752
* Improve C++11 attribute parsing.Michael Han2012-10-031-26/+51
| | | | | | | | - General C++11 attributes were previously parsed and ignored. Now they are parsed and stored in AST. - Add support to parse arguments of attributes that in 'gnu' namespace. - Differentiate unknown attributes and known attributes that can't be applied to statements when emitting diagnostic. llvm-svn: 165082
* Add an AttributedStmt type to represent a statement with C++11 attributesRichard Smith2012-04-141-0/+54
attached. Since we do not support any attributes which appertain to a statement (yet), testing of this is necessarily quite minimal. Patch by Alexander Kornienko! llvm-svn: 154723
OpenPOWER on IntegriCloud