[all-commits] [llvm/llvm-project] b87384: [Clang] Fix __has_cpp_attribute and C++11 attribut...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Fri Mar 1 06:15:25 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b873847a53ae638e2146e3657fe33efe30c2afe1
https://github.com/llvm/llvm-project/commit/b873847a53ae638e2146e3657fe33efe30c2afe1
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-01 (Fri, 01 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/test/Preprocessor/has_attribute.cpp
M clang/test/SemaCXX/attr-declspec-ignored.cpp
M clang/test/SemaCXX/attr-gnu.cpp
A clang/test/SemaCXX/cxx03-cxx11-attr.cpp
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list