diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-21 06:57:40 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-21 06:57:40 +0000 |
commit | 62059e809596a419e6fc3e751b2f0b57b7cc51e7 (patch) | |
tree | b73eb5f6324735df5724b9412848b35ed299cc9c /include/clang/Analysis/PathSensitive/BugReporter.h | |
parent | 3bf5ebe69f3514d9f62b602c566df4f37bc4f222 (diff) |
Add a bug category for NSError** checks.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive/BugReporter.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/BugReporter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/BugReporter.h b/include/clang/Analysis/PathSensitive/BugReporter.h index 7f2511f435..bf9aa00fdb 100644 --- a/include/clang/Analysis/PathSensitive/BugReporter.h +++ b/include/clang/Analysis/PathSensitive/BugReporter.h @@ -215,6 +215,11 @@ public: EmitBasicReport(BugName, BugStr, Loc, 0, 0); } + void EmitBasicReport(const char* BugName, const char* BugCategory, + const char* BugStr, SourceLocation Loc) { + EmitBasicReport(BugName, BugCategory, BugStr, Loc, 0, 0); + } + void EmitBasicReport(const char* BugName, const char* BugStr, SourceLocation Loc, SourceRange R) { EmitBasicReport(BugName, BugStr, Loc, &R, 1); |