[clang] Suppress octal literal diagnostics from system macros (PR #192481)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 16 09:27:41 PDT 2026


================
@@ -166,5 +166,27 @@ void foo() {
 }
 #endif
 
+#172 "system_header.h" 3
+#define SYS_HEADER_MACRO_1 0o02
----------------
AaronBallman wrote:

Sure can!

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


More information about the cfe-commits mailing list