HomeSort by relevance Sort by last modified time
    Searched defs:BT (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/clang/lib/StaticAnalyzer/Checkers/
FixedAddressChecker.cpp 28 mutable std::unique_ptr<BuiltinBug> BT;
54 if (!BT)
55 BT.reset(
60 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N);
TaintTesterChecker.cpp 25 mutable std::unique_ptr<BugType> BT;
40 if (!BT)
41 BT.reset(new BugType(this, "Tainted data", "General"));
53 auto report = llvm::make_unique<BugReport>(*BT, "tainted",N);
UndefinedArraySubscriptChecker.cpp 28 mutable std::unique_ptr<BugType> BT;
52 if (!BT)
53 BT.reset(new BuiltinBug(this, "Array subscript is undefined"));
56 auto R = llvm::make_unique<BugReport>(*BT, BT->getName(), N);
NSAutoreleasePoolChecker.cpp 35 mutable std::unique_ptr<BugType> BT;
61 if (!BT)
62 BT.reset(new BugType(this, "Use -drain instead of -release",
72 *BT, "Use -drain instead of -release when using NSAutoreleasePool and "
UndefResultChecker.cpp 31 mutable std::unique_ptr<BugType> BT;
57 if (!BT)
58 BT.reset(
87 auto report = llvm::make_unique<BugReport>(*BT, OS.str(), N);
UndefinedAssignmentChecker.cpp 27 mutable std::unique_ptr<BugType> BT;
56 if (!BT)
57 BT.reset(new BuiltinBug(this, str));
86 auto R = llvm::make_unique<BugReport>(*BT, str, N);
ArrayBoundChecker.cpp 28 mutable std::unique_ptr<BuiltinBug> BT;
69 if (!BT)
70 BT.reset(new BuiltinBug(
79 auto report = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N);
CastToStructChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
60 if (!BT)
61 BT.reset(
66 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N);
DivZeroChecker.cpp 26 mutable std::unique_ptr<BuiltinBug> BT;
39 if (!BT)
40 BT.reset(new BuiltinBug(this, "Division by zero"));
42 auto R = llvm::make_unique<BugReport>(*BT, Msg, N);
PointerSubChecker.cpp 28 mutable std::unique_ptr<BuiltinBug> BT;
64 if (!BT)
65 BT.reset(
69 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N);
ReturnPointerRangeChecker.cpp 28 mutable std::unique_ptr<BuiltinBug> BT;
72 if (!BT)
73 BT.reset(new BuiltinBug(
83 auto report = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N);
UndefBranchChecker.cpp 28 mutable std::unique_ptr<BuiltinBug> BT;
68 if (!BT)
69 BT.reset(new BuiltinBug(
100 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N);
UndefCapturedBlockVarChecker.cpp 30 mutable std::unique_ptr<BugType> BT;
78 if (!BT)
79 BT.reset(
89 auto R = llvm::make_unique<BugReport>(*BT, os.str(), N);
BoolAssignmentChecker.cpp 26 mutable std::unique_ptr<BuiltinBug> BT;
36 if (!BT)
37 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value"));
38 C.emitReport(llvm::make_unique<BugReport>(*BT, BT->getDescription(), N));
CastSizeChecker.cpp 26 mutable std::unique_ptr<BuiltinBug> BT;
132 if (!BT)
133 BT.reset(new BuiltinBug(this, "Cast region with wrong size.",
136 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), errorNode);
DynamicTypeChecker.cpp 34 mutable std::unique_ptr<BugType> BT;
36 if (!BT)
37 BT.reset(
87 new BugReport(*BT, OS.str(), C.generateNonFatalErrorNode()));
ExprInspectionChecker.cpp 22 mutable std::unique_ptr<BugType> BT;
103 if (!BT)
104 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug"));
110 C.emitReport(llvm::make_unique<BugReport>(*BT, Msg, N));
ObjCContainersChecker.cpp 34 mutable std::unique_ptr<BugType> BT;
36 if (!BT)
37 BT.reset(new BugType(this, "CFArray API",
145 auto R = llvm::make_unique<BugReport>(*BT, "Index is out of bounds", N);
ArrayBoundCheckerV2.cpp 31 mutable std::unique_ptr<BuiltinBug> BT;
189 if (!BT)
190 BT.reset(new BuiltinBug(this, "Out-of-bound access"));
211 llvm::make_unique<BugReport>(*BT, os.str(), errorNode));
  /external/clang/examples/analyzer-plugin/
MainCallChecker.cpp 11 mutable std::unique_ptr<BugType> BT;
37 if (!BT)
38 BT.reset(new BugType(this, "call to main", "example analyzer plugin"));
41 llvm::make_unique<BugReport>(*BT, BT->getName(), N);
  /external/clang/lib/Analysis/
ScanfFormatString.cpp 424 const BuiltinType *BT = PT->getAs<BuiltinType>();
425 if (!BT)
448 switch (BT->getKind()) {
PrintfFormatString.cpp 605 const BuiltinType *BT = QT->getAs<BuiltinType>();
606 if (!BT)
610 switch (BT->getKind()) {
  /external/llvm/lib/Target/Hexagon/
BitTracker.cpp 46 // BitTracker BT(TSE, MF);
47 // BT.run();
50 // RegisterCell RC = BT.get(Reg);
69 typedef BitTracker BT;
88 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) {
90 case BT::BitValue::Top:
93 case BT::BitValue::Zero:
96 case BT::BitValue::One:
99 case BT::BitValue::Ref:
106 raw_ostream &operator<<(raw_ostream &OS, const BT::RegisterCell &RC)
    [all...]
HexagonBitTracker.cpp 23 typedef BitTracker BT;
78 BT::BitMask HexagonEvaluator::mask(unsigned Reg, unsigned Sub) const {
89 return (Sub == subreg_loreg) ? BT::BitMask(0, RW-1)
90 : BT::BitMask(RW, 2*RW-1);
102 std::vector<BT::RegisterRef> Vector;
109 Vector[i] = BT::RegisterRef(MO);
116 const BT::RegisterRef &operator[](unsigned n) const {
188 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs)
195 uint16_t W) -> BT::RegisterCell {
205 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW
    [all...]
  /external/clang/lib/AST/
NSAPI.cpp 391 const BuiltinType *BT = T->getAs<BuiltinType>();
392 if (!BT)
406 switch (BT->getKind()) {

Completed in 577 milliseconds

1 2 3 4