[clang] [sema] Improve -Wsign-compare (PR #65684)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 6 10:44:55 PDT 2023


=?utf-8?q?FĂ©lix?= Cloutier <fcloutier at apple.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/65684/clang at github.com>


================
@@ -14043,28 +14039,63 @@ static bool CheckTautologicalComparison(Sema &S, BinaryOperator *E,
   return true;
 }
 
+namespace {
+struct AnalyzeImplicitConversionsWorkItem {
+  Expr *E;
----------------
AaronBallman wrote:

Because this is a new interface, can we make it more `const`-correct? Also applies to `ImplicitConversionChecker`. (I don't insist if it turns out to require viral changes.)

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


More information about the cfe-commits mailing list