aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-03-27 20:19:24 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-03-27 20:19:24 +0000
commit9cac6f5f04b9f4aabcf3c058d3e454e491c83449 (patch)
tree2657b9b6bade98a24c005316e033d0735962e4bf /clang/lib/Frontend/CompilerInvocation.cpp
parenta6a0863470796a0e01fed0273811192cb1a6a455 (diff)
downloadllvm-9cac6f5f04b9f4aabcf3c058d3e454e491c83449.zip
llvm-9cac6f5f04b9f4aabcf3c058d3e454e491c83449.tar.gz
llvm-9cac6f5f04b9f4aabcf3c058d3e454e491c83449.tar.bz2
Clean up the __has_attribute implementation without modifying its behavior.
Replaces the tablegen-driven AttrSpellings.inc, which lived in the lexing layer with AttrHasAttributeImpl.inc, which lives in the basic layer. Updates the preprocessor to call through to this new functionality which can take additional information into account (such as scopes and syntaxes). Expose the ability for parts of the compiler to ask whether an attribute is supported for a given spelling (including scope), syntax, triple and language options. llvm-svn: 204952
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions