summaryrefslogtreecommitdiff
path: root/test/SemaCXX/attr-used.cpp
Commit message (Collapse)AuthorAge
* Removed a string literal for an attribute name, which means the attribute ↵Aaron Ballman2013-12-26
| | | | | | name will be quoted in the diagnostic. Manually added some quotes to a diagnostic for consistency. Updated the test cases as appropriate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198054 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't reject attribute used in an "extern const" variable definition.Rafael Espindola2013-08-16
Before this patch we would warn and drop the attribute in extern const char test3[] __attribute__((used)) = ""; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188588 91177308-0d34-0410-b5e6-96231b3b80d8