llvm-project
b873847a - [Clang] Fix __has_cpp_attribute and C++11 attributes with arguments in C++03 (#83065)

Commit
1 year ago
[Clang] Fix __has_cpp_attribute and C++11 attributes with arguments in C++03 (#83065) The values for `__has_cpp_attribute` don't have to be guarded behind `LangOpts.CPlusPlus` because `__has_cpp_attribute` isn't available if Clang isn't in a C++ mode. Fixes #82995
Author
Parents
Loading