/external/clang/test/SemaObjC/ |
D | ns_returns_retained_block_return.m | 8 typedef void (^BT) (); typedef 10 BT foo() __attribute__((ns_returns_retained)); 13 BT foo() __attribute__((ns_returns_retained)); 14 - (BT) Meth __attribute__((ns_returns_retained)); 15 + (BT) ClsMeth __attribute__((ns_returns_retained)); 19 BT foo() __attribute__((ns_returns_retained)) {return ^{}; } 20 - (BT) Meth {return ^{}; } 21 + (BT) ClsMeth {return ^{}; }
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | 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 { in LazyInit_BT() 81 if (!BT) in LazyInit_BT() 82 BT.reset(new BuiltinBug(this, desc)); in LazyInit_BT() 86 const Expr *ArgEx, std::unique_ptr<BugType> &BT, 91 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C, in emitBadCall() argument 97 BugReport *R = new BugReport(*BT, BT->getName(), N); in emitBadCall() 136 std::unique_ptr<BugType> &BT, in uninitRefOrPointer() argument 166 LazyInit_BT(BD, BT); in uninitRefOrPointer() [all …]
|
D | ExprInspectionChecker.cpp | 21 mutable std::unique_ptr<BugType> BT; member in __anon369e2a370111::ExprInspectionChecker 97 if (!BT) in analyzerEval() 98 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); in analyzerEval() 100 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N); in analyzerEval() 108 if (!BT) in analyzerWarnIfReached() 109 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); in analyzerWarnIfReached() 111 BugReport *R = new BugReport(*BT, "REACHABLE", N); in analyzerWarnIfReached() 128 if (!BT) in analyzerCheckInlined() 129 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); in analyzerCheckInlined() 131 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N); in analyzerCheckInlined()
|
D | UndefinedArraySubscriptChecker.cpp | 28 mutable std::unique_ptr<BugType> BT; member in __anoncbce492c0111::UndefinedArraySubscriptChecker 52 if (!BT) in checkPreStmt() 53 BT.reset(new BuiltinBug(this, "Array subscript is undefined")); in checkPreStmt() 56 BugReport *R = new BugReport(*BT, BT->getName(), N); in checkPreStmt()
|
D | FixedAddressChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; member in __anon5886cdd20111::FixedAddressChecker 54 if (!BT) in checkPreStmt() 55 BT.reset( in checkPreStmt() 60 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | PointerArithChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon4f9b00d50111::PointerArithChecker 55 if (!BT) in checkPreStmt() 56 BT.reset( in checkPreStmt() 61 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | PointerSubChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; member in __anon923cbe670111::PointerSubChecker 64 if (!BT) in checkPreStmt() 65 BT.reset( in checkPreStmt() 69 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | CastToStructChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon77c2e8ef0111::CastToStructChecker 60 if (!BT) in checkPreStmt() 61 BT.reset( in checkPreStmt() 66 BugReport *R = new BugReport(*BT,BT->getDescription(), N); in checkPreStmt()
|
D | ArrayBoundChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; member in __anonb5798b330111::ArrayBoundChecker 69 if (!BT) in checkLocation() 70 BT.reset(new BuiltinBug( in checkLocation() 80 new BugReport(*BT, BT->getDescription(), N); in checkLocation()
|
D | ReturnPointerRangeChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; member in __anond6b6132a0111::ReturnPointerRangeChecker 72 if (!BT) in checkPreStmt() 73 BT.reset(new BuiltinBug( in checkPreStmt() 84 new BugReport(*BT, BT->getDescription(), N); in checkPreStmt()
|
D | TaintTesterChecker.cpp | 25 mutable std::unique_ptr<BugType> BT; member in __anoneffd27b30111::TaintTesterChecker 40 if (!BT) in initBugType() 41 BT.reset(new BugType(this, "Tainted data", "General")); in initBugType() 53 BugReport *report = new BugReport(*BT, "tainted",N); in checkPostStmt()
|
D | NSAutoreleasePoolChecker.cpp | 35 mutable std::unique_ptr<BugType> BT; member in __anond953b6f10111::NSAutoreleasePoolChecker 61 if (!BT) in checkPreObjCMessage() 62 BT.reset(new BugType(this, "Use -drain instead of -release", in checkPreObjCMessage() 71 BugReport *Report = new BugReport(*BT, "Use -drain instead of -release when " in checkPreObjCMessage()
|
D | UndefBranchChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon2b450b1c0111::UndefBranchChecker 69 if (!BT) in checkBranchCondition() 70 BT.reset(new BuiltinBug( in checkBranchCondition() 101 BugReport *R = new BugReport(*BT, BT->getDescription(), N); in checkBranchCondition()
|
D | BoolAssignmentChecker.cpp | 26 mutable std::unique_ptr<BuiltinBug> BT; member in __anon83fe6e610111::BoolAssignmentChecker 36 if (!BT) in emitReport() 37 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value")); in emitReport() 38 C.emitReport(new BugReport(*BT, BT->getDescription(), N)); in emitReport()
|
D | CastSizeChecker.cpp | 26 mutable std::unique_ptr<BuiltinBug> BT; member in __anoncf0c4a820111::CastSizeChecker 135 if (!BT) in checkPreStmt() 136 BT.reset(new BuiltinBug(this, "Cast region with wrong size.", in checkPreStmt() 139 BugReport *R = new BugReport(*BT, BT->getDescription(), errorNode); in checkPreStmt()
|
D | UndefinedAssignmentChecker.cpp | 27 mutable std::unique_ptr<BugType> BT; member in __anon3a0bf5670111::UndefinedAssignmentChecker 56 if (!BT) in checkBind() 57 BT.reset(new BuiltinBug(this, str)); in checkBind() 86 BugReport *R = new BugReport(*BT, str, N); in checkBind()
|
D | UndefResultChecker.cpp | 31 mutable std::unique_ptr<BugType> BT; member in __anone9b73fcd0111::UndefResultChecker 57 if (!BT) in checkPostStmt() 58 BT.reset( in checkPostStmt() 87 BugReport *report = new BugReport(*BT, OS.str(), N); in checkPostStmt()
|
D | DivZeroChecker.cpp | 26 mutable std::unique_ptr<BuiltinBug> BT; member in __anone943e23f0111::DivZeroChecker 39 if (!BT) in reportBug() 40 BT.reset(new BuiltinBug(this, "Division by zero")); in reportBug() 42 BugReport *R = new BugReport(*BT, Msg, N); in reportBug()
|
D | UndefCapturedBlockVarChecker.cpp | 30 mutable std::unique_ptr<BugType> BT; member in __anonf22d779a0111::UndefCapturedBlockVarChecker 81 if (!BT) in checkPostStmt() 82 BT.reset( in checkPostStmt() 92 BugReport *R = new BugReport(*BT, os.str(), N); in checkPostStmt()
|
/external/clang/test/SemaCXX/ |
D | ns_returns_retained_block_return.cpp | 6 typedef void (^BT) (); typedef 9 BT br() __attribute__((ns_returns_retained)) { in br() 12 BT br1() __attribute__((ns_returns_retained)); 15 BT S::br1() { in br1()
|
/external/llvm/include/llvm/Analysis/ |
D | 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>; 926 template <class BT> 927 void BlockFrequencyInfoImpl<BT>::doFunction(const FunctionT *F, [all …]
|
/external/clang/examples/analyzer-plugin/ |
D | MainCallChecker.cpp | 11 mutable std::unique_ptr<BugType> BT; member in __anonc157ed420111::MainCallChecker 37 if (!BT) in checkPreStmt() 38 BT.reset(new BugType(this, "call to main", "example analyzer plugin")); in checkPreStmt() 40 BugReport *report = new BugReport(*BT, BT->getName(), N); in checkPreStmt()
|
/external/clang/lib/AST/ |
D | Type.cpp | 637 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) in isIntegralType() local 638 return BT->getKind() >= BuiltinType::Bool && in isIntegralType() 639 BT->getKind() <= BuiltinType::Int128; in isIntegralType() 650 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) in isIntegralOrUnscopedEnumerationType() local 651 return BT->getKind() >= BuiltinType::Bool && in isIntegralOrUnscopedEnumerationType() 652 BT->getKind() <= BuiltinType::Int128; in isIntegralOrUnscopedEnumerationType() 667 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) in isCharType() local 668 return BT->getKind() == BuiltinType::Char_U || in isCharType() 669 BT->getKind() == BuiltinType::UChar || in isCharType() 670 BT->getKind() == BuiltinType::Char_S || in isCharType() [all …]
|
/external/clang/lib/Serialization/ |
D | ASTCommon.h | 38 TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT); 53 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID() local 54 return TypeIdxFromBuiltin(BT).asTypeID(FastQuals); in MakeTypeID()
|
/external/bluetooth/bluedroid/test/bluedroidtest/ |
D | README.txt | 32 INIT BT 38 ENABLE BT 45 BT DUT MODE CONFIGURE 52 BT DUT MODE CONFIGURE 65 Please refer to the BT Core spec pages-1099 to 1102 for possible values for
|