[all-commits] [llvm/llvm-project] 19e218: [clang][dataflow] Return a solution from the solve...
weiyi via All-commits
all-commits at lists.llvm.org
Thu Jul 7 11:54:02 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 19e21887eb18aa019000c2384ea7f2c91d937489
https://github.com/llvm/llvm-project/commit/19e21887eb18aa019000c2384ea7f2c91d937489
Author: Wei Yi Tee <wyt at google.com>
Date: 2022-07-07 (Thu, 07 Jul 2022)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
M clang/include/clang/Analysis/FlowSensitive/Solver.h
M clang/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp
M clang/unittests/Analysis/FlowSensitive/SolverTest.cpp
Log Message:
-----------
[clang][dataflow] Return a solution from the solver when `Constraints` are `Satisfiable`.
A truth assignment to atomic boolean values which satisfy `Constraints` will be returned if found by the solver.
This gives us more information which can be helpful for debugging or constructing warning messages.
Reviewed By: hlopko, gribozavr2, sgatev
Differential Revision: https://reviews.llvm.org/D129180
More information about the All-commits
mailing list