diff options
Diffstat (limited to 'include/clang/Analysis/PathSensitive/GRSubEngine.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/GRSubEngine.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/GRSubEngine.h b/include/clang/Analysis/PathSensitive/GRSubEngine.h index 330742d..5b383fa 100644 --- a/include/clang/Analysis/PathSensitive/GRSubEngine.h +++ b/include/clang/Analysis/PathSensitive/GRSubEngine.h @@ -13,6 +13,8 @@ #ifndef LLVM_CLANG_ANALYSIS_GRSUBENGINE_H #define LLVM_CLANG_ANALYSIS_GRSUBENGINE_H +#include "clang/Analysis/PathSensitive/SVals.h" + namespace clang { class Stmt; @@ -62,8 +64,12 @@ public: /// ProcessEndPath - Called by GRCoreEngine. Used to generate end-of-path /// nodes when the control reaches the end of a function. virtual void ProcessEndPath(GREndPathNodeBuilder& builder) = 0; + + /// EvalAssume - Called by ConstraintManager. Used to call checker-specific + /// logic for handling assumptions on symbolic values. + virtual const GRState* ProcessAssume(const GRState *state, + SVal cond, bool assumption) = 0; }; - } #endif |