[llvm-branch-commits] [clang] [clang] Adjust -pedantic-errors -WX/-Wno-error=X interaction (#184756) (PR #188422)
Harald van Dijk via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 10 23:33:26 PDT 2026
hvdijk wrote:
I do get the concern though. It would be possible to only backport the fix to make `-pedantic-errors -Wno-error=foo` not error (a195c719aa96c491ea52bbb8b9e496d2cd6c8445), and not backport the fix to make `-pedantic-errors -Wfoo` error (703359d44d9a711ac470c15f791328a59d271f4f). That way we have assurance that the only impact is to *not* error in cases where Clang 22 currently errors, to reduce the risk, and we could leave that second fix only on LLVM main?
https://github.com/llvm/llvm-project/pull/188422
More information about the llvm-branch-commits
mailing list