]> granicus.if.org Git - clang/commit
__has_attribute now understands target-specific attributes. So when you ask whether...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 9 Jan 2014 22:57:44 +0000 (22:57 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 9 Jan 2014 22:57:44 +0000 (22:57 +0000)
commit51b58b36f8e3d39eec770d9c0795efa787e47223
tree59e5ad08a2c36158c720cd010c54b8f492392273
parentf78f966d307b6dc301092ef128087075e266d0b4
__has_attribute now understands target-specific attributes. So when you ask 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
lib/Lex/PPMacroExpansion.cpp
test/Preprocessor/has_attribute.c
utils/TableGen/ClangAttrEmitter.cpp