/external/clang/test/SemaCXX/ |
H A D | 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/ |
H A D | MainCallChecker.cpp | 11 mutable std::unique_ptr<BugType> BT; member in class:__anon17451::MainCallChecker 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/ |
H A D | FixedAddressChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18191::FixedAddressChecker 54 if (!BT) 55 BT.reset( 60 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
H A D | UndefinedArraySubscriptChecker.cpp | 28 mutable std::unique_ptr<BugType> BT; member in class:__anon18247::UndefinedArraySubscriptChecker 52 if (!BT) 53 BT.reset(new BuiltinBug(this, "Array subscript is undefined")); 56 BugReport *R = new BugReport(*BT, BT->getName(), N);
|
H A D | NSAutoreleasePoolChecker.cpp | 35 mutable std::unique_ptr<BugType> BT; member in class:__anon18207::NSAutoreleasePoolChecker 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 "
|
H A D | TaintTesterChecker.cpp | 25 mutable std::unique_ptr<BugType> BT; member in class:__anon18240::TaintTesterChecker 40 if (!BT) 41 BT.reset(new BugType(this, "Tainted data", "General")); 53 BugReport *report = new BugReport(*BT, "tainted",N);
|
H A D | ExprInspectionChecker.cpp | 21 mutable std::unique_ptr<BugType> BT; member in class:__anon18190::ExprInspectionChecker 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, getArgumentValueStrin [all...] |
H A D | ArrayBoundChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18148::ArrayBoundChecker 69 if (!BT) 70 BT.reset(new BuiltinBug( 80 new BugReport(*BT, BT->getDescription(), N);
|
H A D | CastToStructChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18165::CastToStructChecker 60 if (!BT) 61 BT.reset( 66 BugReport *R = new BugReport(*BT,BT->getDescription(), N);
|
H A D | PointerArithChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18223::PointerArithChecker 55 if (!BT) 56 BT.reset( 61 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
H A D | PointerSubChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18224::PointerSubChecker 64 if (!BT) 65 BT.reset( 69 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
H A D | ReturnPointerRangeChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18234::ReturnPointerRangeChecker 72 if (!BT) 73 BT.reset(new BuiltinBug( 84 new BugReport(*BT, BT->getDescription(), N);
|
H A D | UndefinedAssignmentChecker.cpp | 27 mutable std::unique_ptr<BugType> BT; member in class:__anon18248::UndefinedAssignmentChecker 56 if (!BT) 57 BT.reset(new BuiltinBug(this, str)); 86 BugReport *R = new BugReport(*BT, str, N);
|
H A D | UndefBranchChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18244::UndefBranchChecker 69 if (!BT) 70 BT.reset(new BuiltinBug( 101 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
H A D | DivZeroChecker.cpp | 26 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18188::DivZeroChecker 39 if (!BT) 40 BT.reset(new BuiltinBug(this, "Division by zero")); 42 BugReport *R = new BugReport(*BT, Msg, N);
|
H A D | UndefCapturedBlockVarChecker.cpp | 30 mutable std::unique_ptr<BugType> BT; member in class:__anon18245::UndefCapturedBlockVarChecker 81 if (!BT) 82 BT.reset( 92 BugReport *R = new BugReport(*BT, os.str(), N);
|
H A D | UndefResultChecker.cpp | 31 mutable std::unique_ptr<BugType> BT; member in class:__anon18246::UndefResultChecker 57 if (!BT) 58 BT.reset( 87 BugReport *report = new BugReport(*BT, OS.str(), N);
|
H A 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 { 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, argument 97 BugReport *R = new BugReport(*BT, BT->getName(), N); 136 std::unique_ptr<BugType> &BT, 132 uninitRefOrPointer(CheckerContext &C, const SVal &V, const SourceRange &ArgRange, const Expr *ArgEx, std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl, const char *BD) const argument 180 PreVisitProcessArg(CheckerContext &C, SVal V, SourceRange ArgRange, const Expr *ArgEx, bool IsFirstArgument, bool CheckUninitFields, const CallEvent &Call, std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl ) const argument 344 BugType *BT = BT_cxx_delete_undef.get(); local 415 std::unique_ptr<BugType> *BT; local 440 BugType *BT = nullptr; local [all...] |
H A D | BoolAssignmentChecker.cpp | 26 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18158::BoolAssignmentChecker 36 if (!BT) 37 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value")); 38 C.emitReport(new BugReport(*BT, BT->getDescription(), N));
|
H A D | CastSizeChecker.cpp | 26 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon18164::CastSizeChecker 135 if (!BT) 136 BT.reset(new BuiltinBug(this, "Cast region with wrong size.", 139 BugReport *R = new BugReport(*BT, BT->getDescription(), errorNode);
|
H A D | ReturnUndefChecker.cpp | 81 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE, argument 87 BugReport *Report = new BugReport(BT, BT.getDescription(), N);
|
H A D | ObjCContainersChecker.cpp | 33 mutable std::unique_ptr<BugType> BT; member in class:__anon18217::ObjCContainersChecker 35 if (!BT) 36 BT.reset(new BugType(this, "CFArray API", 140 BugReport *R = new BugReport(*BT, "Index is out of bounds", N);
|
H A D | VLASizeChecker.cpp | 32 mutable std::unique_ptr<BugType> BT; member in class:__anon18251::VLASizeChecker 53 if (!BT) 54 BT.reset(new BuiltinBug( 72 BugReport *report = new BugReport(*BT, os.str(), N);
|
/external/clang/lib/Serialization/ |
H A D | ASTCommon.h | 38 TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT); 53 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) 54 return TypeIdxFromBuiltin(BT).asTypeID(FastQuals);
|
/external/llvm/include/llvm/Analysis/ |
H A 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> [all...] |