aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/PathSensitive/BugReporter.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-05-01 23:13:35 +0000
committerTed Kremenek <kremenek@apple.com>2008-05-01 23:13:35 +0000
commitc9fa2f7bcc3061aa8bcdbe0df26d2c7cf7281539 (patch)
treee93a22d8f23f4d41b3d2d0b600cdec4c43052ea9 /include/clang/Analysis/PathSensitive/BugReporter.h
parentbb77e9b908658b354b058509d3801f3aed052bec (diff)
Added line number diagnostics to indicate the allocation site of the leaked object.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive/BugReporter.h')
-rw-r--r--include/clang/Analysis/PathSensitive/BugReporter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/BugReporter.h b/include/clang/Analysis/PathSensitive/BugReporter.h
index b823906364..714e888369 100644
--- a/include/clang/Analysis/PathSensitive/BugReporter.h
+++ b/include/clang/Analysis/PathSensitive/BugReporter.h
@@ -143,6 +143,8 @@ public:
ASTContext& getContext() { return Ctx; }
+ SourceManager& getSourceManager() { return Ctx.getSourceManager(); }
+
ExplodedGraph<ValueState>& getGraph();
GRExprEngine& getEngine() { return Eng; }