diff options
Diffstat (limited to 'include/clang/Analysis/PathSensitive/BugReporter.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/BugReporter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/BugReporter.h b/include/clang/Analysis/PathSensitive/BugReporter.h index 792b2e2d9e..2312583589 100644 --- a/include/clang/Analysis/PathSensitive/BugReporter.h +++ b/include/clang/Analysis/PathSensitive/BugReporter.h @@ -63,7 +63,8 @@ public: return getBugType().getDescription(); } - virtual PathDiagnosticPiece* getEndPath(ASTContext& Ctx) const; + virtual PathDiagnosticPiece* getEndPath(BugReporter& BR, + ExplodedNode<ValueState>* N) const; virtual FullSourceLoc getLocation(SourceManager& Mgr); @@ -124,6 +125,8 @@ public: GRExprEngine& getEngine() { return Eng; } + CFG& getCFG() { return getGraph().getCFG(); } + void EmitPathWarning(BugReport& R); void EmitWarning(BugReport& R); |