aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/PathSensitive/BugReporter.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-04-03 17:57:38 +0000
committerTed Kremenek <kremenek@apple.com>2008-04-03 17:57:38 +0000
commitf1ae705460552655fe7275327804444c62e86bae (patch)
treeb3553c031e7328d5c432e5dadf6a491b45c6d390 /include/clang/Analysis/PathSensitive/BugReporter.h
parent84867e60a466fa1199eb4e838ddf873a2f7658a9 (diff)
Hooked up GRSimpleAPICheck and the simple Objective-C Foundation checks to use
the new BugReporter interface. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive/BugReporter.h')
-rw-r--r--include/clang/Analysis/PathSensitive/BugReporter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/BugReporter.h b/include/clang/Analysis/PathSensitive/BugReporter.h
index 86bd43a6e1..a5af327195 100644
--- a/include/clang/Analysis/PathSensitive/BugReporter.h
+++ b/include/clang/Analysis/PathSensitive/BugReporter.h
@@ -41,6 +41,9 @@ public:
virtual PathDiagnosticPiece* getEndPath(ASTContext& Ctx,
ExplodedNode<ValueState> *N) const;
+
+ virtual void getRanges(const SourceRange*& beg,
+ const SourceRange*& end) const;
};
class BugReporter {