/external/clang/test/SemaCXX/ |
ns_returns_retained_block_return.cpp | 6 typedef void (^BT) (); 9 BT br() __attribute__((ns_returns_retained)) { 12 BT br1() __attribute__((ns_returns_retained)); 15 BT S::br1() {
|
/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);
|
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 "
|
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);
|
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...] |
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);
|
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);
|
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);
|
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);
|
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);
|
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);
|
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);
|
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);
|
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);
|
CallAndMessageChecker.cpp | 76 std::unique_ptr<BugType> &BT, 79 static void emitBadCall(BugType *BT, CheckerContext &C, const Expr *BadE); 87 void LazyInit_BT(const char *desc, std::unique_ptr<BugType> &BT) const { 88 if (!BT) 89 BT.reset(new BuiltinBug(this, desc)); 93 const Expr *ArgEx, std::unique_ptr<BugType> &BT, 98 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C, 104 auto R = llvm::make_unique<BugReport>(*BT, BT->getName(), N); 143 std::unique_ptr<BugType> &BT, [all...] |
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);
|
/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/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...] |
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 { 187 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs) 194 -> BT::RegisterCell { 204 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW [all...] |
/device/moto/shamu/ |
bt_shamu.mk | 26 PRODUCT_MODEL := BT Shamu
|
/external/clang/lib/Serialization/ |
ASTCommon.h | 43 TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT); 58 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) 59 return TypeIdxFromBuiltin(BT).asTypeID(FastQuals);
|
/external/llvm/include/llvm/Analysis/ |
BlockFrequencyInfoImpl.h | 52 template <class BT> struct BlockEdgesAdder; 788 template <class BT> class BlockFrequencyInfoImpl : BlockFrequencyInfoImplBase { 789 typedef typename bfi_detail::TypeMap<BT>::BlockT BlockT; 790 typedef typename bfi_detail::TypeMap<BT>::FunctionT FunctionT; 791 typedef typename bfi_detail::TypeMap<BT>::BranchProbabilityInfoT 793 typedef typename bfi_detail::TypeMap<BT>::LoopT LoopT; 794 typedef typename bfi_detail::TypeMap<BT>::LoopInfoT LoopInfoT; 797 friend struct bfi_detail::BlockEdgesAdder<BT>; [all...] |