[clang] [Parser][BoundsSafety] Print attribute as macro if it's system defined (PR #107619)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 13 07:12:39 PDT 2024


================
@@ -0,0 +1,4 @@
+#pragma clang system_header
+
+#define _SYS_NODEREF __attribute__((noderef))
+#define _SYS_LIBCPP_FLOAT_ABI __attribute__((pcs("aapcs")))
----------------
AaronBallman wrote:

Please also have tests using `__declspec` and `[[]]` style attributes as well.

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


More information about the cfe-commits mailing list