summaryrefslogtreecommitdiffstats
path: root/clang/examples/analyzer-plugin/MainCallChecker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* analyzer-plugin/MainCallChecker.cpp: s/generateSink/generateErrorNode/, ↵NAKAMURA Takumi2015-09-161-1/+1
| | | | | | corresponding to r247859. llvm-svn: 247862
* Fixing a build bot break from r240400.Aaron Ballman2015-06-231-2/+3
| | | | llvm-svn: 240401
* [C++11] Remove the remaining uses of OwningPtr.Ahmed Charles2014-03-091-1/+1
| | | | | | Replace OwningArrayPtr with std::unique_ptr<T[]>. llvm-svn: 203388
* Expose the name of the checker producing each diagnostic message.Alexander Kornienko2014-02-111-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
* Sort the #include lines for examples/...Chandler Carruth2012-12-041-2/+2
| | | | llvm-svn: 169241
* analyzer-plugin/MainCallChecker.cpp: Fixup corresponding to r167275.NAKAMURA Takumi2012-11-021-1/+1
| | | | llvm-svn: 167278
* drop more llvm:: prefixes on OwningPtr<>Dylan Noblesmith2012-02-131-1/+1
| | | | | | More cleanup after r149798. llvm-svn: 150379
* examples/analyzer-plugin/: unbreak buildDylan Noblesmith2012-02-091-2/+3
| | | | | | | It was never updated for API changes in r149311/r149336/r149339 and r147688. llvm-svn: 150202
* Remove EnhancedBugReport and RangedBugReport - pull all the extra ↵Anna Zaks2011-08-171-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
* Don't use BuiltinBug in analyzer plugin example.Jordy Rose2011-08-171-1/+1
| | | | llvm-svn: 137811
* [analyzer] Add basic support for pluggable checkers.Jordy Rose2011-08-171-0/+52
llvm-svn: 137802
OpenPOWER on IntegriCloud