summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/has_attribute.c
Commit message (Collapse)AuthorAgeFilesLines
* __has_attribute now understands target-specific attributes. So when you ask ↵Aaron Ballman2014-01-091-1/+11
| | | | | | whether an ARM target has the "interrupt" attribute, it will return true for ARM and MSP430 targets, and false for others. llvm-svn: 198897
* Generalize hack allowing 'const' in __has_attribute (etc) to allow any tokenRichard Smith2013-07-091-0/+4
| | | | | | | with identifier info. This covers most identifier-like entities (other than the ISO646 keywords). llvm-svn: 185895
* c: small refactoring of checking for __attribute__(const))Fariborz Jahanian2012-08-131-0/+10
| | | | | | per Richard's comment. llvm-svn: 161786
* Merge __has_attribute tests. Patch by Jonathan Sauer!Jean-Daniel Dupas2012-03-011-9/+21
| | | | llvm-svn: 151819
* Implement double underscore names support in __has_attributeJean-Daniel Dupas2012-03-011-0/+14
llvm-svn: 151809
OpenPOWER on IntegriCloud