HomeSort by: relevance | last modified time | path
    Searched defs:BT (Results 1 - 25 of 68) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
FixedAddressChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
52 if (!BT)
53 BT.reset(
59 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
NSAutoreleasePoolChecker.cpp 34 mutable std::unique_ptr<BugType> BT;
60 if (!BT)
61 BT.reset(new BugType(this, "Use -drain instead of -release",
71 *BT,
TaintTesterChecker.cpp 27 mutable std::unique_ptr<BugType> BT;
42 if (!BT)
43 BT.reset(new BugType(this, "Tainted data", "General"));
55 auto report = std::make_unique<PathSensitiveBugReport>(*BT, "tainted", N);
UndefinedArraySubscriptChecker.cpp 27 mutable std::unique_ptr<BugType> BT;
51 if (!BT)
52 BT.reset(new BuiltinBug(this, "Array subscript is undefined"));
55 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
UndefinedAssignmentChecker.cpp 26 mutable std::unique_ptr<BugType> BT;
55 if (!BT)
56 BT.reset(new BuiltinBug(this, DefaultMsg));
111 auto R = std::make_unique<PathSensitiveBugReport>(*BT, OS.str(), N);
ArrayBoundChecker.cpp 28 mutable std::unique_ptr<BuiltinBug> BT;
68 if (!BT)
69 BT.reset(new BuiltinBug(
79 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
BoolAssignmentChecker.cpp 25 mutable std::unique_ptr<BuiltinBug> BT;
35 if (!BT)
36 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value"));
39 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N));
DivZeroChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
47 if (!BT)
48 BT.reset(new BuiltinBug(this, "Division by zero"));
50 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Msg, N);
PointerSubChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
61 if (!BT)
62 BT.reset(
67 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
ReturnPointerRangeChecker.cpp 28 mutable std::unique_ptr<BuiltinBug> BT;
76 if (!BT)
77 BT.reset(new BuiltinBug(
88 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
UndefBranchChecker.cpp 29 mutable std::unique_ptr<BuiltinBug> BT;
72 if (!BT)
73 BT.reset(new BuiltinBug(
105 *BT, BT->getDescription(), N);
UndefCapturedBlockVarChecker.cpp 29 mutable std::unique_ptr<BugType> BT;
75 if (!BT)
76 BT.reset(
86 auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
MmapWriteExecChecker.cpp 34 mutable std::unique_ptr<BugType> BT;
63 if (!BT)
64 BT.reset(new BugType(this, "W^X check fails, Write Exec prot flags set", "Security"));
71 *BT, "Both PROT_WRITE and PROT_EXEC flags are set. This can "
CastSizeChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
134 if (!BT)
135 BT.reset(new BuiltinBug(this, "Cast region with wrong size.",
138 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(),
ConversionChecker.cpp 45 mutable std::unique_ptr<BuiltinBug> BT;
119 if (!BT)
120 BT.reset(
124 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Msg, N);
DeleteWithNonVirtualDtorChecker.cpp 39 mutable std::unique_ptr<BugType> BT;
88 if (!BT)
89 BT.reset(new BugType(this,
97 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
DynamicTypeChecker.cpp 33 mutable std::unique_ptr<BugType> BT;
35 if (!BT)
36 BT.reset(
84 *BT, OS.str(), C.generateNonFatalErrorNode());
UndefResultChecker.cpp 31 mutable std::unique_ptr<BugType> BT;
93 if (!BT)
94 BT.reset(
174 auto report = std::make_unique<PathSensitiveBugReport>(*BT, OS.str(), N);
DereferenceChecker.cpp 125 const BugType *BT = nullptr;
130 BT = &BT_Null;
135 BT = &BT_Undef;
169 os << BT->getDescription();
196 *BT, buf.empty() ? BT->getDescription() : StringRef(buf), N);
ObjCContainersChecker.cpp 33 mutable std::unique_ptr<BugType> BT;
35 if (!BT)
36 BT.reset(new BugType(this, "CFArray API",
148 *BT, "Index is out of bounds", N);
VforkChecker.cpp 46 mutable std::unique_ptr<BuiltinBug> BT;
124 if (!BT)
125 BT.reset(new BuiltinBug(this,
136 auto Report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
  /src/external/apache2/llvm/dist/clang/lib/Analysis/plugins/SampleAnalyzer/
MainCallChecker.cpp 11 mutable std::unique_ptr<BugType> BT;
36 if (!BT)
37 BT.reset(new BugType(this, "call to main", "example analyzer plugin"));
40 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
NativeSymbolEnumerator.cpp 77 const NativeTypeBuiltin &BT = Parent.getUnderlyingBuiltinType();
79 switch (BT.getBuiltinType()) {
83 assert(Record.Value.isSignedIntN(BT.getLength() * 8));
85 switch (BT.getLength()) {
99 assert(Record.Value.isIntN(BT.getLength() * 8));
101 switch (BT.getLength()) {
114 assert(Record.Value.isIntN(BT.getLength() * 8));
  /src/external/apache2/llvm/dist/clang/lib/AST/
ScanfFormatString.cpp 433 const BuiltinType *BT = PT->getAs<BuiltinType>();
434 if (!BT)
457 switch (BT->getKind()) {
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
RetainCountDiagnostics.h 39 RefCountBug(CheckerNameRef Checker, RefCountBugKind BT);
42 RefCountBugKind getBugType() const { return BT; }
45 RefCountBugKind BT;
46 static StringRef bugTypeToName(RefCountBugKind BT);

Completed in 41 milliseconds

1 2 3