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

1 2 3

  /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.
31 class BugType {
40 BugType(class CheckName check, StringRef name, StringRef cat)
42 BugType(const CheckerBase *checker, StringRef name, StringRef cat)
45 virtual ~BugType() {}
61 class BuiltinBug : public BugType {
66 : BugType(check, name, categories::LogicError), desc(description) {}
70 : BugType(checker, name, categories::LogicError), desc(description) {}
73 : BugType(checker, name, categories::LogicError), desc(name) {
    [all...]
BugReporter.h 47 class BugType;
74 BugType& BT;
146 BugReport(BugType& bt, StringRef desc, const ExplodedNode *errornode)
150 BugReport(BugType& bt, StringRef shortDesc, StringRef desc,
156 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; }
393 typedef llvm::ImmutableSet<BugType*> BugTypesTy;
460 void Register(BugType *BT)
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/
IssueHash.h 29 /// location. The bugtype and the name of the checker is also part of the hash.
41 llvm::StringRef BugType, const Decl *D,
47 llvm::StringRef CheckerName, llvm::StringRef BugType,
  /external/clang/lib/StaticAnalyzer/Checkers/
NSAutoreleasePoolChecker.cpp 22 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
35 mutable std::unique_ptr<BugType> BT;
62 BT.reset(new BugType(this, "Use -drain instead of -release",
TaintTesterChecker.cpp 14 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
25 mutable std::unique_ptr<BugType> BT;
41 BT.reset(new BugType(this, "Tainted data", "General"));
CallAndMessageChecker.cpp 18 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
45 mutable std::unique_ptr<BugType> BT_call_null;
46 mutable std::unique_ptr<BugType> BT_call_undef;
47 mutable std::unique_ptr<BugType> BT_cxx_call_null;
48 mutable std::unique_ptr<BugType> BT_cxx_call_undef;
49 mutable std::unique_ptr<BugType> BT_call_arg;
50 mutable std::unique_ptr<BugType> BT_cxx_delete_undef;
51 mutable std::unique_ptr<BugType> BT_msg_undef;
52 mutable std::unique_ptr<BugType> BT_objc_prop_undef;
53 mutable std::unique_ptr<BugType> BT_objc_subscript_undef
    [all...]
PthreadLockChecker.cpp 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
53 mutable std::unique_ptr<BugType> BT_doublelock;
54 mutable std::unique_ptr<BugType> BT_doubleunlock;
55 mutable std::unique_ptr<BugType> BT_destroylock;
56 mutable std::unique_ptr<BugType> BT_initlock;
57 mutable std::unique_ptr<BugType> BT_lor;
143 BT_doublelock.reset(new BugType(this, "Double locking",
205 BT_doubleunlock.reset(new BugType(this, "Double unlocking",
229 BT_lor.reset(new BugType(this, "Lock order reversal", "Lock checker"));
273 BT_destroylock.reset(new BugType(this, "Destroy invalid lock"
    [all...]
MacOSXAPIChecker.cpp 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
34 mutable std::unique_ptr<BugType> BT_dispatchOnce;
70 BT_dispatchOnce.reset(new BugType(this, "Improper use of 'dispatch_once'",
ExprInspectionChecker.cpp 11 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
21 mutable std::unique_ptr<BugType> BT;
104 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug"));
117 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug"));
138 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug"));
171 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug"));
NSErrorChecker.cpp 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
135 class NSErrorDerefBug : public BugType {
138 : BugType(Checker, "NSError** null dereference",
142 class CFErrorDerefBug : public BugType {
145 : BugType(Checker, "CFErrorRef* null dereference",
267 BugType *bug = nullptr;
SimpleStreamChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
57 std::unique_ptr<BugType> DoubleCloseBugType;
58 std::unique_ptr<BugType> LeakBugType;
112 new BugType(this, "Double fclose", "Unix Stream API Error"));
115 new BugType(this, "Resource Leak", "Unix Stream API Error"));
UndefinedArraySubscriptChecker.cpp 17 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
28 mutable std::unique_ptr<BugType> BT;
UndefinedAssignmentChecker.cpp 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
27 mutable std::unique_ptr<BugType> BT;
DeadStoresChecker.cpp 181 const char *BugType = nullptr;
185 BugType = "Dead initialization";
191 BugType = "Dead increment";
193 if (!BugType) BugType = "Dead assignment";
204 BR.EmitBasicReport(AC->getDecl(), Checker, BugType, "Dead store", os.str(),
ObjCContainersChecker.cpp 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
34 mutable std::unique_ptr<BugType> BT;
37 BT.reset(new BugType(this, "CFArray API",
UndefCapturedBlockVarChecker.cpp 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
30 mutable std::unique_ptr<BugType> BT;
UndefResultChecker.cpp 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
31 mutable std::unique_ptr<BugType> BT;
NonNullParamChecker.cpp 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
32 mutable std::unique_ptr<BugType> BTAttrNonNull;
33 mutable std::unique_ptr<BugType> BTNullRefArg;
186 // Lazily allocate the BugType object if it hasn't already been
190 BTAttrNonNull.reset(new BugType(
UnixAPIChecker.cpp 17 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
33 mutable std::unique_ptr<BugType> BT_open, BT_pthreadOnce, BT_mallocZero;
60 void LazyInitialize(std::unique_ptr<BugType> &BT, const char *name) const {
63 BT.reset(new BugType(this, name, categories::UnixAPI));
DebugCheckers.cpp 20 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
223 mutable std::unique_ptr<BugType> BT;
227 BT.reset(new BugType(this, "Dump hash components", "debug"));
DynamicTypeChecker.cpp 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
34 mutable std::unique_ptr<BugType> BT;
38 new BugType(this, "Dynamic and static type mismatch", "Type Error"));
PaddingChecker.cpp 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
35 mutable std::unique_ptr<BugType> PaddingBug;
278 llvm::make_unique<BugType>(this, "Excessive Padding", "Performance");
VLASizeChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
32 mutable std::unique_ptr<BugType> BT;
  /external/clang/examples/analyzer-plugin/
MainCallChecker.cpp 2 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
11 mutable std::unique_ptr<BugType> BT;
38 BT.reset(new BugType(this, "call to main", "example analyzer plugin"));
  /external/clang/lib/StaticAnalyzer/Core/
IssueHash.cpp 176 StringRef CheckerName, StringRef BugType,
184 NormalizeLine(SM, IssueLoc, LangOpts) + Delimiter + BugType)
190 StringRef CheckerName, StringRef BugType,
195 GetIssueString(SM, IssueLoc, CheckerName, BugType, D, LangOpts));

Completed in 649 milliseconds

1 2 3