/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/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")); 40 BugReport *report = new BugReport(*BT, BT->getName(), N);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
FixedAddressChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; 54 if (!BT) 55 BT.reset( 60 BugReport *R = new 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 BugReport *R = new 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", 71 BugReport *Report = new BugReport(*BT, "Use -drain instead of -release when "
|
TaintTesterChecker.cpp | 25 mutable std::unique_ptr<BugType> BT; 40 if (!BT) 41 BT.reset(new BugType(this, "Tainted data", "General")); 53 BugReport *report = new BugReport(*BT, "tainted",N);
|
ExprInspectionChecker.cpp | 21 mutable std::unique_ptr<BugType> BT; 97 if (!BT) 98 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); 100 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N); 108 if (!BT) 109 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); 111 BugReport *R = new BugReport(*BT, "REACHABLE", N); 128 if (!BT) 129 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); 131 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N) [all...] |
ArrayBoundChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; 69 if (!BT) 70 BT.reset(new BuiltinBug( 80 new BugReport(*BT, BT->getDescription(), N);
|
CastToStructChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; 60 if (!BT) 61 BT.reset( 66 BugReport *R = new BugReport(*BT,BT->getDescription(), N);
|
PointerArithChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; 55 if (!BT) 56 BT.reset( 61 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
PointerSubChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; 64 if (!BT) 65 BT.reset( 69 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
ReturnPointerRangeChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; 72 if (!BT) 73 BT.reset(new BuiltinBug( 84 new BugReport(*BT, BT->getDescription(), N);
|
UndefinedAssignmentChecker.cpp | 27 mutable std::unique_ptr<BugType> BT; 56 if (!BT) 57 BT.reset(new BuiltinBug(this, str)); 86 BugReport *R = new BugReport(*BT, str, N);
|
UndefBranchChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; 69 if (!BT) 70 BT.reset(new BuiltinBug( 101 BugReport *R = new 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 BugReport *R = new BugReport(*BT, Msg, N);
|
UndefCapturedBlockVarChecker.cpp | 30 mutable std::unique_ptr<BugType> BT; 81 if (!BT) 82 BT.reset( 92 BugReport *R = new BugReport(*BT, os.str(), N);
|
UndefResultChecker.cpp | 31 mutable std::unique_ptr<BugType> BT; 57 if (!BT) 58 BT.reset( 87 BugReport *report = new BugReport(*BT, OS.str(), N);
|
CallAndMessageChecker.cpp | 69 std::unique_ptr<BugType> &BT, 72 static void emitBadCall(BugType *BT, CheckerContext &C, const Expr *BadE); 80 void LazyInit_BT(const char *desc, std::unique_ptr<BugType> &BT) const { 81 if (!BT) 82 BT.reset(new BuiltinBug(this, desc)); 86 const Expr *ArgEx, std::unique_ptr<BugType> &BT, 91 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C, 97 BugReport *R = new BugReport(*BT, BT->getName(), N); 136 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(new 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 BugReport *R = new BugReport(*BT, BT->getDescription(), errorNode);
|
ReturnUndefChecker.cpp | 81 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE, 87 BugReport *Report = new BugReport(BT, BT.getDescription(), N);
|
ObjCContainersChecker.cpp | 33 mutable std::unique_ptr<BugType> BT; 35 if (!BT) 36 BT.reset(new BugType(this, "CFArray API", 140 BugReport *R = new BugReport(*BT, "Index is out of bounds", N);
|
/external/clang/lib/Serialization/ |
ASTCommon.h | 38 TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT); 53 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) 54 return TypeIdxFromBuiltin(BT).asTypeID(FastQuals);
|
/frameworks/rs/ |
rsScriptC.cpp | 42 BT = NULL; 48 if (BT) { 49 delete BT; 50 BT = NULL; 260 if (BT) { 261 delete BT; 263 BT = new bcinfo::BitcodeTranslator((const char *)bitcode, bitcodeLen, 265 if (!BT->translate()) { 267 delete BT; 268 BT = NULL [all...] |
/external/llvm/include/llvm/Analysis/ |
BlockFrequencyInfoImpl.h | 158 template <class BT> struct BlockEdgesAdder; 772 template <class BT> class BlockFrequencyInfoImpl : BlockFrequencyInfoImplBase { 773 typedef typename bfi_detail::TypeMap<BT>::BlockT BlockT; 774 typedef typename bfi_detail::TypeMap<BT>::FunctionT FunctionT; 775 typedef typename bfi_detail::TypeMap<BT>::BranchProbabilityInfoT 777 typedef typename bfi_detail::TypeMap<BT>::LoopT LoopT; 778 typedef typename bfi_detail::TypeMap<BT>::LoopInfoT LoopInfoT; 781 friend struct bfi_detail::BlockEdgesAdder<BT>; [all...] |