================
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -verify -fsyntax-only -std=c++23 %s
----------------
trungnt2910 wrote:
It seems like the check for attribute arguments is done before the check for
Microsoft extensions.
I'm modifying the tests to expect errors when doing things like
`[[msvc::forceinline_calls("foo")]]` on a non-Microsoft compilation.
I am not sure if there is any random code targeting UNIX that relies on such a
thing as `[[msvc::forceinline_calls("foo")]]` to be valid.
https://github.com/llvm/llvm-project/pull/185282
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits