Disable __has_cpp_attribute when not compiling in C++ mode. As this feature...
Disable __has_cpp_attribute when not compiling in C++ mode. As this feature test macro only supports C++ style attributes, it doesn't apply to code compiled as C code, and can lead to diagnostics when given a scoped attribute. This addresses PR23435. llvm-svn: 236996
Loading
Please sign in to comment