[clang] Suppress octal literal diagnostics from system macros (PR #192481)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 16 09:13:58 PDT 2026
================
@@ -166,5 +166,27 @@ void foo() {
}
#endif
+#172 "system_header.c" 3
----------------
Endilll wrote:
It feels strange that a header would have `.c` extension. Also, what exactly makes Clang think this is a system header?
https://github.com/llvm/llvm-project/pull/192481
More information about the cfe-commits
mailing list