aboutsummaryrefslogtreecommitdiff
path: root/clang/examples/analyzer-plugin/MainCallChecker.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-09-16analyzer-plugin/MainCallChecker.cpp: s/generateSink/generateErrorNode/, ↵NAKAMURA Takumi1-1/+1
corresponding to r247859. llvm-svn: 247862
2015-06-23Fixing a build bot break from r240400.Aaron Ballman1-2/+3
llvm-svn: 240401
2014-03-09[C++11] Remove the remaining uses of OwningPtr.Ahmed Charles1-1/+1
Replace OwningArrayPtr with std::unique_ptr<T[]>. llvm-svn: 203388
2014-02-11Expose the name of the checker producing each diagnostic message.Alexander Kornienko1-1/+1
Summary: In clang-tidy we'd like to know the name of the checker producing each diagnostic message. PathDiagnostic has BugType and Category fields, which are both arbitrary human-readable strings, but we need to know the exact name of the checker in the form that can be used in the CheckersControlList option to enable/disable the specific checker. This patch adds the CheckName field to the CheckerBase class, and sets it in the CheckerManager::registerChecker() method, which gets them from the CheckerRegistry. Checkers that implement multiple checks have to store the names of each check in the respective registerXXXChecker method. Reviewers: jordan_rose, krememek Reviewed By: jordan_rose CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2557 llvm-svn: 201186
2012-12-04Sort the #include lines for examples/...Chandler Carruth1-2/+2
llvm-svn: 169241
2012-11-02analyzer-plugin/MainCallChecker.cpp: Fixup corresponding to r167275.NAKAMURA Takumi1-1/+1
llvm-svn: 167278
2012-02-13drop more llvm:: prefixes on OwningPtr<>Dylan Noblesmith1-1/+1
More cleanup after r149798. llvm-svn: 150379
2012-02-09examples/analyzer-plugin/: unbreak buildDylan Noblesmith1-2/+3
It was never updated for API changes in r149311/r149336/r149339 and r147688. llvm-svn: 150202
2011-08-17Remove EnhancedBugReport and RangedBugReport - pull all the extra ↵Anna Zaks1-1/+1
functionality they provided into their parent BugReport. The only functional changes are: made getRanges() non const - it adds default range to Ranges if none are supplied, made getStmt() private, which was another FIXME. llvm-svn: 137894
2011-08-17Don't use BuiltinBug in analyzer plugin example.Jordy Rose1-1/+1
llvm-svn: 137811
2011-08-17[analyzer] Add basic support for pluggable checkers.Jordy Rose1-0/+52
llvm-svn: 137802