[clang] [Clang] Fix __has_cpp_attribute and C++11 attributes with arguments in C++03 (PR #83065)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 05:30:01 PST 2024


================
@@ -1,7 +1,7 @@
-// RUN: %clang_cc1 -std=gnu++17 -fsyntax-only -fms-compatibility -verify %s
-
-void f() {
-  // GNU-style attributes are prohibited in this position.
+// RUN: %clang_cc1 -std=gnu++17 -fsyntax-only -fms-compatibility -verify %s
----------------
AaronBallman wrote:

What... changed... here? I don't see any actual changes in the file...

https://github.com/llvm/llvm-project/pull/83065


More information about the cfe-commits mailing list