]> granicus.if.org Git - clang/commit
Added a new preprocessor macro: __has_declspec_attribute. This can be used as a way...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 5 Dec 2014 15:05:29 +0000 (15:05 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 5 Dec 2014 15:05:29 +0000 (15:05 +0000)
commitbf260bb264a60e38c82b0e57dd2e9bf8d69249c2
tree504f8c9fd6c1c4e013600da3a4573ee482f8c57c
parentaa8362e18eab808b975eddc5489e1e2e311dce85
Added a new preprocessor macro: __has_declspec_attribute. This can be used as a way to determine whether Clang supports a __declspec spelling for a given attribute, similar to  __has_attribute and __has_cpp_attribute.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223467 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LanguageExtensions.rst
include/clang/Lex/Preprocessor.h
lib/Lex/PPMacroExpansion.cpp
test/Preprocessor/has_attribute.cpp