HomeSort by relevance Sort by last modified time
    Searched refs:BugType (Results 1 - 25 of 33) sorted by null

1 2

  /external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
BugType.h 1 //===--- BugType.h - Bug Information Desciption ----------------*- C++ -*-===//
10 // This file defines BugType, a class representing a bug type.
28 class BugType {
34 BugType(StringRef name, StringRef cat)
36 virtual ~BugType();
51 class BuiltinBug : public BugType {
56 : BugType(name, "Logic error"), desc(description) {}
59 : BugType(name, "Logic error"), desc(name) {}
BugReporter.h 44 class BugType;
71 BugType& BT;
106 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode)
110 BugReport(BugType& bt, StringRef shortDesc, StringRef desc,
115 BugReport(BugType& bt, StringRef desc, PathDiagnosticLocation l)
126 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode,
134 const BugType& getBugType() const { return BT; }
135 BugType& getBugType() { return BT; }
297 typedef llvm::ImmutableSet<BugType*> BugTypesTy;
351 void Register(BugType *BT)
    [all...]
PathDiagnostic.h 611 std::string BugType;
643 StringRef bugtype,
650 StringRef getBugType() const { return BugType; }
  /external/clang/examples/analyzer-plugin/
MainCallChecker.cpp 4 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
11 mutable OwningPtr<BugType> BT;
38 BT.reset(new BugType("call to main", "example analyzer plugin"));
  /external/clang/lib/StaticAnalyzer/Checkers/
TaintTesterChecker.cpp 17 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
25 mutable OwningPtr<BugType> BT;
41 BT.reset(new BugType("Tainted data", "General"));
CallAndMessageChecker.cpp 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
31 mutable OwningPtr<BugType> BT_call_null;
32 mutable OwningPtr<BugType> BT_call_undef;
33 mutable OwningPtr<BugType> BT_call_arg;
34 mutable OwningPtr<BugType> BT_msg_undef;
35 mutable OwningPtr<BugType> BT_objc_prop_undef;
36 mutable OwningPtr<BugType> BT_msg_arg;
37 mutable OwningPtr<BugType> BT_msg_ret;
45 const char *BT_desc, OwningPtr<BugType> &BT);
50 OwningPtr<BugType> &BT)
    [all...]
MacOSXAPIChecker.cpp 22 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
34 mutable OwningPtr<BugType> BT_dispatchOnce;
70 BT_dispatchOnce.reset(new BugType("Improper use of 'dispatch_once'",
NSAutoreleasePoolChecker.cpp 22 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
35 mutable OwningPtr<BugType> BT;
71 BT.reset(new BugType("Use -drain instead of -release",
PthreadLockChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
28 mutable OwningPtr<BugType> BT_doublelock;
29 mutable OwningPtr<BugType> BT_lor;
113 BT_doublelock.reset(new BugType("Double locking", "Lock checker"));
176 BT_lor.reset(new BugType("Lock order reversal", "Lock checker"));
UndefinedArraySubscriptChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
27 mutable OwningPtr<BugType> BT;
NSErrorChecker.cpp 23 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
136 class NSErrorDerefBug : public BugType {
138 NSErrorDerefBug() : BugType("NSError** null dereference",
142 class CFErrorDerefBug : public BugType {
144 CFErrorDerefBug() : BugType("CFErrorRef* null dereference",
281 BugType *bug = 0;
DeadStoresChecker.cpp 125 const char *BugType = 0;
129 BugType = "Dead initialization";
135 BugType = "Dead increment";
137 if (!BugType) BugType = "Dead assignment";
148 BR.EmitBasicReport(AC->getDecl(), BugType, "Dead store", os.str(), L, R);
AttrNonNullChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
27 mutable OwningPtr<BugType> BT;
97 // Lazily allocate the BugType object if it hasn't already been
101 BT.reset(new BugType("Argument with 'nonnull' attribute passed null",
UndefResultChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
30 mutable OwningPtr<BugType> BT;
UndefinedAssignmentChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
27 mutable OwningPtr<BugType> BT;
ObjCContainersChecker.cpp 25 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
34 mutable OwningPtr<BugType> BT;
37 BT.reset(new BugType("CFArray API",
UndefCapturedBlockVarChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
29 mutable OwningPtr<BugType> BT;
UnixAPIChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
33 mutable OwningPtr<BugType> BT_open, BT_pthreadOnce, BT_mallocZero;
66 static inline void LazyInitialize(OwningPtr<BugType> &BT,
70 BT.reset(new BugType(name, categories::UnixAPI));
MallocChecker.cpp 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
98 mutable OwningPtr<BugType> BT_DoubleFree;
99 mutable OwningPtr<BugType> BT_Leak;
100 mutable OwningPtr<BugType> BT_UseFree;
101 mutable OwningPtr<BugType> BT_BadFree;
572 new BugType("Double free", "Memory Error"));
680 BT_BadFree.reset(new BugType("Bad free", "Memory Error"));
864 BT_Leak.reset(new BugType("Memory leak", "Memory Error"));
    [all...]
BasicObjCFoundationChecks.cpp 25 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
37 class APIMisuse : public BugType {
39 APIMisuse(const char* name) : BugType(name, "API Misuse (Apple)") {}
434 mutable OwningPtr<BugType> BT;
491 mutable OwningPtr<BugType> BT;
VLASizeChecker.cpp 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
31 mutable OwningPtr<BugType> BT;
ObjCSelfInitChecker.cpp 45 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
82 class InitSelfBug : public BugType {
85 InitSelfBug() : BugType("Missing \"self = [(super or self) init...]\"",
  /external/chromium/chrome/browser/
bug_report_util.h 33 enum BugType {
  /external/clang/lib/StaticAnalyzer/Core/
BugReporter.cpp 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
    [all...]
HTMLDiagnostics.cpp 248 const std::string& BugType = D.getBugType();
249 if (!BugType.empty())
250 os << "\n<!-- BUGTYPE " << BugType << " -->\n";

Completed in 430 milliseconds

1 2