[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
Thu Feb 29 09:03:51 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:

Huh, fair enough (though usually we want unrelated changes stripped from the patch, including trailing whitespaces).

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


More information about the cfe-commits mailing list