[clang] fix bug that undefined internal is a warning only for -pedantic-errors (PR #98016)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 11 05:06:54 PDT 2024


================
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s -pedantic-errors
----------------
AaronBallman wrote:

```suggestion
// RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-pointer-arith -pedantic-errors
```

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


More information about the cfe-commits mailing list