summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/attributes.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Enhance the diagnostic for negative array sizes to include theChandler Carruth2011-01-041-1/+1
| | | | | | | | | | | declaration name of the array when present. This ensures that a poor-man's C++03 static_assert will include the user error message often embedded in the name. Update all the tests to reflect the new wording, and add a test for the name behavior. llvm-svn: 122802
* Implement dependent alignment attribute support. This is a bit gross given theChandler Carruth2010-06-251-5/+18
| | | | | | | | | | | | | current attribute system, but it is enough to handle class templates which specify parts of their alignment in terms of their template parameters. This also replaces the attributes test in SemaTemplate with one that actually tests working attributes instead of broken ones. I plan to add more tests here for non-dependent attributes in a subsequent patch. Thanks to John for walking me through some of this. =D llvm-svn: 106818
* Revert r104106; it's breaking linking of Boost.Serialization.Douglas Gregor2010-05-191-21/+0
| | | | llvm-svn: 104121
* Teach clang to instantiate attributes on more declarations. Fixes PR7102.Douglas Gregor2010-05-191-0/+21
| | | | llvm-svn: 104106
* Protect isIntegerConstantExpr from seeing type- or value-dependentDouglas Gregor2010-05-181-0/+8
expressions in attributes, pragmas. llvm-svn: 104083
OpenPOWER on IntegriCloud