__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)
commit0fa06d879ace8a2c934590a8f4e461875bd2745c
tree7b82dcb898402d0e534b603c70a6ffaa433edfdf
parentab7691c4ce72faf49e14fe715ec608f236742e24
__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.

llvm-svn: 198897
clang/lib/Lex/PPMacroExpansion.cpp
clang/test/Preprocessor/has_attribute.c
clang/utils/TableGen/ClangAttrEmitter.cpp