summaryrefslogtreecommitdiff
path: root/test/Preprocessor/has_attribute.c
Commit message (Collapse)AuthorAge
* __has_attribute now understands target-specific attributes. So when you ask ↵Aaron Ballman2014-01-09
| | | | | | whether an ARM target has the "interrupt" attribute, it will return true for ARM and MSP430 targets, and false for others. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198897 91177308-0d34-0410-b5e6-96231b3b80d8
* Generalize hack allowing 'const' in __has_attribute (etc) to allow any tokenRichard Smith2013-07-09
| | | | | | | | with identifier info. This covers most identifier-like entities (other than the ISO646 keywords). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185895 91177308-0d34-0410-b5e6-96231b3b80d8
* c: small refactoring of checking for __attribute__(const))Fariborz Jahanian2012-08-13
| | | | | | | per Richard's comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161786 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge __has_attribute tests. Patch by Jonathan Sauer!Jean-Daniel Dupas2012-03-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151819 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement double underscore names support in __has_attributeJean-Daniel Dupas2012-03-01
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151809 91177308-0d34-0410-b5e6-96231b3b80d8