[PATCH] D126707: [analyzer][NFC] Move overconstrained check from reAssume to assumeDualImpl

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 1 05:35:16 PDT 2022


martong marked an inline comment as done.
martong added inline comments.


================
Comment at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:117-120
   // Make internal constraint solver entities friends so they can access the
   // overconstrained-related functions. We want to keep this API inaccessible
   // for Checkers.
   friend class ConstraintManager;
----------------
steakhal wrote:
> Shouldn't you remove this as well? Check the friends.
No, it is the `ConstraintManager` which checks the overconstrained property (in `assumeDualImpl`).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126707



More information about the cfe-commits mailing list