[PATCH] D110357: [Analyzer] Extend ConstraintAssignor to handle remainder op

Denys Petrov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 12 12:51:25 PDT 2021


ASDenysPetrov added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1619
+      return true;
+    const SymExpr *LHS = Sym->getLHS();
+    const llvm::APSInt &Zero =
----------------
steakhal wrote:
> 
Since `SymbolRef` actually is already `const`. (`using SymbolRef = const SymExpr *;`)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110357/new/

https://reviews.llvm.org/D110357



More information about the cfe-commits mailing list