/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 "
|
PointerArithChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; 55 if (!BT) 56 BT.reset( 61 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N);
|
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 | 27 mutable std::unique_ptr<BuiltinBug> BT; 67 if (!BT) 68 BT.reset(new BuiltinBug( 99 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; 135 if (!BT) 136 BT.reset(new BuiltinBug(this, "Cast region with wrong size.", 139 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), errorNode);
|
ExprInspectionChecker.cpp | 21 mutable std::unique_ptr<BugType> BT; 103 if (!BT) 104 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); 110 llvm::make_unique<BugReport>(*BT, getArgumentValueString(CE, C), N)); 116 if (!BT) 117 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); 122 C.emitReport(llvm::make_unique<BugReport>(*BT, "REACHABLE", N)); 137 if (!BT) 138 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); 144 llvm::make_unique<BugReport>(*BT, getArgumentValueString(CE, C), N)) [all...] |
DynamicTypeChecker.cpp | 34 mutable std::unique_ptr<BugType> BT; 36 if (!BT) 37 BT.reset( 87 new BugReport(*BT, OS.str(), C.generateNonFatalErrorNode()));
|
ObjCContainersChecker.cpp | 34 mutable std::unique_ptr<BugType> BT; 36 if (!BT) 37 BT.reset(new BugType(this, "CFArray API", 146 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 | 419 const BuiltinType *BT = PT->getAs<BuiltinType>(); 420 if (!BT) 443 switch (BT->getKind()) {
|
PrintfFormatString.cpp | 600 const BuiltinType *BT = QT->getAs<BuiltinType>(); 601 if (!BT) 605 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; 87 raw_ostream &llvm::operator<<(raw_ostream &OS, const BT::BitValue &BV) { 89 case BT::BitValue::Top: 92 case BT::BitValue::Zero: 95 case BT::BitValue::One: 98 case BT::BitValue::Ref: 105 raw_ostream &llvm::operator<<(raw_ostream &OS, const BT::RegisterCell &RC) [all...] |
/external/clang/lib/AST/ |
NSAPI.cpp | 391 const BuiltinType *BT = T->getAs<BuiltinType>(); 392 if (!BT) 406 switch (BT->getKind()) {
|