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)
commit3c0f9b4a7d0b26f23ea2227d6c58cec00d9c3459
treecb393a6376af6a750966d80ae4955bb78a17a1c3
parent892855250046f0ae7b864f3e4cbfc30421ed84be
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.

llvm-svn: 223467
clang/docs/LanguageExtensions.rst
clang/include/clang/Lex/Preprocessor.h
clang/lib/Lex/PPMacroExpansion.cpp
clang/test/Preprocessor/has_attribute.cpp