14 #ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_RETAINCOUNTCHECKER_DIAGNOSTICS_H 15 #define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_RETAINCOUNTCHECKER_DIAGNOSTICS_H 70 llvm::iterator_range<ranges_iterator>
getRanges()
override {
79 const Stmt *AllocStmt;
94 assert(Location.isValid());
MemRegion - The root abstract class for all memory regions.
Stmt - This represents one statement.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
llvm::iterator_range< ranges_iterator > getRanges() override
Get the SourceRanges associated with the report.
virtual llvm::iterator_range< ranges_iterator > getRanges()
Get the SourceRanges associated with the report.
PathDiagnosticLocation getLocation(const SourceManager &SM) const override
Return the "definitive" location of the reported bug.
RefCountBugType getBugType() const
Dataflow Directional Tag Classes.
const CheckerBase * getChecker() const
StringRef getDescription() const
RefCountBug(const CheckerBase *checker, RefCountBugType BT)
A trivial tuple used to represent a source range.
This class provides an interface through which checkers can create individual bug reports...
This class handles loading and caching of source files into memory.