/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 | 45 class BugType; 72 BugType& BT; 129 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode) 133 BugReport(BugType& bt, StringRef shortDesc, StringRef desc, 139 BugReport(BugType& bt, StringRef desc, PathDiagnosticLocation l) 151 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode, 159 const BugType& getBugType() const { return BT; } 160 BugType& getBugType() { return BT; } 333 typedef llvm::ImmutableSet<BugType*> BugTypesTy; 401 void Register(BugType *BT) [all...] |
/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/ |
CallAndMessageChecker.cpp | 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 32 mutable OwningPtr<BugType> BT_call_null; 33 mutable OwningPtr<BugType> BT_call_undef; 34 mutable OwningPtr<BugType> BT_cxx_call_null; 35 mutable OwningPtr<BugType> BT_cxx_call_undef; 36 mutable OwningPtr<BugType> BT_call_arg; 37 mutable OwningPtr<BugType> BT_msg_undef; 38 mutable OwningPtr<BugType> BT_objc_prop_undef; 39 mutable OwningPtr<BugType> BT_objc_subscript_undef; 40 mutable OwningPtr<BugType> BT_msg_arg [all...] |
TaintTesterChecker.cpp | 17 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 25 mutable OwningPtr<BugType> BT; 41 BT.reset(new BugType("Tainted data", "General"));
|
ExprInspectionChecker.cpp | 12 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 20 mutable OwningPtr<BugType> BT; 93 BT.reset(new BugType("Checking analyzer assumptions", "debug")); 113 BT.reset(new BugType("Checking analyzer assumptions", "debug"));
|
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"));
|
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",
|
UndefinedArraySubscriptChecker.cpp | 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 27 mutable OwningPtr<BugType> BT;
|
AttrNonNullChecker.cpp | 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 28 mutable OwningPtr<BugType> BT; 94 // Lazily allocate the BugType object if it hasn't already been 98 BT.reset(new BugType("Argument with 'nonnull' attribute passed null",
|
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;
|
UndefCapturedBlockVarChecker.cpp | 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 29 mutable OwningPtr<BugType> BT;
|
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 | 24 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 33 mutable OwningPtr<BugType> BT; 36 BT.reset(new BugType("CFArray API",
|
DeadStoresChecker.cpp | 177 const char *BugType = 0; 181 BugType = "Dead initialization"; 187 BugType = "Dead increment"; 189 if (!BugType) BugType = "Dead assignment"; 200 BR.EmitBasicReport(AC->getDecl(), BugType, "Dead store", os.str(), L, R);
|
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'",
|
FixedAddressChecker.cpp | 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
|
ReturnUndefChecker.cpp | 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
|
VLASizeChecker.cpp | 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h" 31 mutable OwningPtr<BugType> BT;
|
ArrayBoundChecker.cpp | 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
|
CastSizeChecker.cpp | 18 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
|
/external/clang/tools/scan-view/ |
Reporter.py | 42 def getValue(self,r,bugtype,getConfigOption): 48 def getHTML(self,r,bugtype,getConfigOption): 53 </tr>"""%(self.getName(),r.getName(),self.getName(),self.getValue(r,bugtype,getConfigOption)) 60 def getHTML(self,r,bugtype,getConfigOption): 61 default = self.getValue(r,bugtype,getConfigOption) 164 def getValue(self,r,bugtype,getConfigOption): 165 if bugtype.find("leak") != -1: 167 elif bugtype.find("dereference") != -1: 169 elif bugtype.find("missing ivar release") != -1:
|
/external/chromium/chrome/browser/ui/cocoa/ |
bug_report_window_controller.h | 68 // Maps bug type menu item title strings to BugReportUtil::BugType ints. 100 // from BugReportUtil::BugType.
|
/external/chromium/chrome/browser/ |
bug_report_util.h | 33 enum BugType {
|