diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-11-03 08:03:59 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-11-03 08:03:59 +0000 |
commit | 54cb7ccc769a5e81a13812e08c21daf52a781262 (patch) | |
tree | 40fc9a62a8a5d446dbc88cd0114045e3509296e6 /include/clang/Analysis | |
parent | d5925bdff8bda8e062985caea299946636104d99 (diff) |
Implement: <rdar://problem/6250216> Warn against using -[NSAutoreleasePool release] in GC mode
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis')
-rw-r--r-- | include/clang/Analysis/PathSensitive/Checker.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/Checker.h b/include/clang/Analysis/PathSensitive/Checker.h index 59ce71e616..ac856d370f 100644 --- a/include/clang/Analysis/PathSensitive/Checker.h +++ b/include/clang/Analysis/PathSensitive/Checker.h @@ -72,6 +72,10 @@ public: ASTContext &getASTContext() { return Eng.getContext(); } + + BugReporter &getBugReporter() { + return Eng.getBugReporter(); + } ExplodedNode *GenerateNode(const Stmt *S, bool markAsSink = false) { return GenerateNode(S, getState(), markAsSink); |