Searched refs:BT (Results 1 - 25 of 70) sorted by relevance

123

/external/clang/test/SemaCXX/
H A Dns_returns_retained_block_return.cpp6 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 DMainCallChecker.cpp11 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 DFixedAddressChecker.cpp28 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 DUndefinedArraySubscriptChecker.cpp28 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 DNSAutoreleasePoolChecker.cpp35 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 DTaintTesterChecker.cpp25 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 DExprInspectionChecker.cpp21 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 DArrayBoundChecker.cpp28 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 DCastToStructChecker.cpp27 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 DPointerArithChecker.cpp27 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 DPointerSubChecker.cpp28 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 DReturnPointerRangeChecker.cpp28 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 DUndefinedAssignmentChecker.cpp27 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 DUndefBranchChecker.cpp27 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 DDivZeroChecker.cpp26 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 DUndefCapturedBlockVarChecker.cpp30 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 DUndefResultChecker.cpp31 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 DCallAndMessageChecker.cpp69 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 DBoolAssignmentChecker.cpp26 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 DCastSizeChecker.cpp26 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 DReturnUndefChecker.cpp81 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE, argument
87 BugReport *Report = new BugReport(BT, BT.getDescription(), N);
H A DObjCContainersChecker.cpp33 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 DVLASizeChecker.cpp32 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 DASTCommon.h38 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 DBlockFrequencyInfoImpl.h158 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...]

Completed in 389 milliseconds

123