/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. 29 class BugType { 35 BugType(StringRef name, StringRef cat) 37 virtual ~BugType(); 52 class BuiltinBug : public BugType { 57 : BugType(name, "Logic error"), desc(description) {} 60 : BugType(name, "Logic error"), desc(name) {}
|
BugReporter.h | 46 class BugType; 73 BugType& BT; 145 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode) 149 BugReport(BugType& bt, StringRef shortDesc, StringRef desc, 155 BugReport(BugType& bt, StringRef desc, PathDiagnosticLocation l) 167 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode, 177 const BugType& getBugType() const { return BT; } 178 BugType& getBugType() { return BT; } 390 typedef llvm::ImmutableSet<BugType*> BugTypesTy; 457 void Register(BugType *BT) [all...] |
/external/clang/examples/analyzer-plugin/ |
MainCallChecker.cpp | 2 #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/ |
NSAutoreleasePoolChecker.cpp | 22 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 35 mutable OwningPtr<BugType> BT; 62 BT.reset(new BugType("Use -drain instead of -release",
|
TaintTesterChecker.cpp | 14 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 25 mutable OwningPtr<BugType> BT; 41 BT.reset(new BugType("Tainted data", "General"));
|
CallAndMessageChecker.cpp | 18 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 33 mutable OwningPtr<BugType> BT_call_null; 34 mutable OwningPtr<BugType> BT_call_undef; 35 mutable OwningPtr<BugType> BT_cxx_call_null; 36 mutable OwningPtr<BugType> BT_cxx_call_undef; 37 mutable OwningPtr<BugType> BT_call_arg; 38 mutable OwningPtr<BugType> BT_msg_undef; 39 mutable OwningPtr<BugType> BT_objc_prop_undef; 40 mutable OwningPtr<BugType> BT_objc_subscript_undef; 41 mutable OwningPtr<BugType> BT_msg_arg [all...] |
MacOSXAPIChecker.cpp | 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 34 mutable OwningPtr<BugType> BT_dispatchOnce; 70 BT_dispatchOnce.reset(new BugType("Improper use of 'dispatch_once'",
|
ExprInspectionChecker.cpp | 11 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 21 mutable OwningPtr<BugType> BT; 96 BT.reset(new BugType("Checking analyzer assumptions", "debug")); 116 BT.reset(new BugType("Checking analyzer assumptions", "debug"));
|
PthreadLockChecker.cpp | 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 28 mutable OwningPtr<BugType> BT_doublelock; 29 mutable OwningPtr<BugType> BT_lor; 105 BT_doublelock.reset(new BugType("Double locking", "Lock checker")); 168 BT_lor.reset(new BugType("Lock order reversal", "Lock checker"));
|
UndefinedArraySubscriptChecker.cpp | 17 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 28 mutable OwningPtr<BugType> BT;
|
NSErrorChecker.cpp | 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 137 class NSErrorDerefBug : public BugType { 139 NSErrorDerefBug() : BugType("NSError** null dereference", 143 class CFErrorDerefBug : public BugType { 145 CFErrorDerefBug() : BugType("CFErrorRef* null dereference", 265 BugType *bug = 0;
|
NonNullParamChecker.cpp | 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 32 mutable OwningPtr<BugType> BTAttrNonNull; 33 mutable OwningPtr<BugType> BTNullRefArg; 154 // Lazily allocate the BugType object if it hasn't already been 158 BTAttrNonNull.reset(new BugType(
|
SimpleStreamChecker.cpp | 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 57 OwningPtr<BugType> DoubleCloseBugType; 58 OwningPtr<BugType> LeakBugType; 112 DoubleCloseBugType.reset(new BugType("Double fclose", 115 LeakBugType.reset(new BugType("Resource Leak",
|
UndefinedAssignmentChecker.cpp | 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 27 mutable OwningPtr<BugType> BT;
|
DeadStoresChecker.cpp | 180 const char *BugType = 0; 184 BugType = "Dead initialization"; 190 BugType = "Dead increment"; 192 if (!BugType) BugType = "Dead assignment"; 203 BR.EmitBasicReport(AC->getDecl(), BugType, "Dead store", os.str(), L, R);
|
ObjCContainersChecker.cpp | 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 33 mutable OwningPtr<BugType> BT; 36 BT.reset(new BugType("CFArray API",
|
UndefCapturedBlockVarChecker.cpp | 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 30 mutable OwningPtr<BugType> BT;
|
UndefResultChecker.cpp | 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 31 mutable OwningPtr<BugType> BT;
|
UnixAPIChecker.cpp | 17 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 33 mutable OwningPtr<BugType> BT_open, BT_pthreadOnce, BT_mallocZero; 67 static inline void LazyInitialize(OwningPtr<BugType> &BT, 71 BT.reset(new BugType(name, categories::UnixAPI));
|
VLASizeChecker.cpp | 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 32 mutable OwningPtr<BugType> BT;
|
ObjCSelfInitChecker.cpp | 41 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 83 class InitSelfBug : public BugType { 86 InitSelfBug() : BugType("Missing \"self = [(super or self) init...]\"",
|
BasicObjCFoundationChecks.cpp | 23 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 40 class APIMisuse : public BugType { 42 APIMisuse(const char* name) : BugType(name, "API Misuse (Apple)") {} 588 mutable OwningPtr<BugType> BT; 645 mutable OwningPtr<BugType> BT; [all...] |
/external/chromium/chrome/browser/ |
bug_report_util.h | 33 enum BugType {
|
/external/clang/lib/StaticAnalyzer/Core/ |
HTMLDiagnostics.cpp | 210 StringRef BugType = D.getBugType(); 211 if (!BugType.empty()) 212 os << "\n<!-- BUGTYPE " << BugType << " -->\n";
|
BugReporter.cpp | 28 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" [all...] |