summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx11-gnu-attrs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Switch %clang -cc1 tests to %clang_cc1Alp Toker2013-10-281-1/+1
| | | | llvm-svn: 193561
* Extend test to show an alias can be before a definition.Rafael Espindola2013-10-211-1/+2
| | | | llvm-svn: 193099
* Downgrade 'attribute ignored when parsing type' from error to warning, to matchRichard Smith2013-01-291-1/+1
| | | | | | | | | the diagnostic's warn_ name. Switch some places (notably C++11 attributes) which really wanted an error over to a different diagnostic. Finally, suppress the diagnostic entirely for __ptr32, __ptr64 and __w64, to avoid producing diagnostics in important system headers. llvm-svn: 173788
* Fix behavior of [[gnu::]] function attributes. Per g++'s behavior, theseRichard Smith2013-01-151-0/+10
| | | | | | | | | | | attributes appertain to a declaration, even though they would be much more naturally modelled as appertaining to a function type. Previously, we would try to distribute them from the declarator to the function type, then reject them for being at an incorrect location. Now, we just distribute them as far as the declarator; the existing attribute handling code can actually apply them there just fine. llvm-svn: 172504
* clang/test/SemaCXX/cxx11-gnu-attrs.cpp: Add explicit -triple ↵NAKAMURA Takumi2013-01-141-1/+1
| | | | | | x86_64-unknown-unknown, or it doesn't work for targetting win32. llvm-svn: 172404
* Add extra tests for [[gnu::...]] attributes, missed from r172382.Richard Smith2013-01-141-0/+45
llvm-svn: 172391
OpenPOWER on IntegriCloud