[clang] [clang] Improve -Wsign-compare diagnostic (PR #128614)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 25 06:21:29 PST 2025


https://github.com/erichkeane commented:

I don't think this patch is the right way forward.  We shouldn't lie to the user about the type, and have to count on the left side of the diagnostic to tell them how to analyze the types to figure out the problem.  Qualifiers are part of the type, so being incorrect here isn't something we typically do.

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


More information about the cfe-commits mailing list