[flang-commits] [clang] [clang-tools-extra] [flang] [clang] Extend diagnose_if to accept more detailed warning information, take 2 (PR #119712)

Aaron Ballman via flang-commits flang-commits at lists.llvm.org
Tue Jan 14 10:39:28 PST 2025


AaronBallman wrote:

> From the commit message, it sounds like this might introduce warnings that `-Werror` doesn't turn into warnings. Is that correct?

FWIW, that's already the case today (which we found out in the previous iteration of this): https://godbolt.org/z/nG4oWvv3s

I think the commit message is talking specifically about warnings which have no warning group whatsoever, which is something we've been slowly working to get rid of: https://github.com/llvm/llvm-project/blob/dcc141bc0bb471ba209c89aca4288dc5cd2ef8bc/clang/test/Misc/warning-flags.c#L19


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


More information about the flang-commits mailing list