Lines Matching refs:BT
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,
166 LazyInit_BT(BD, BT);
167 BugReport *R = new BugReport(*BT, Message, N);
187 std::unique_ptr<BugType> &BT,
192 if (uninitRefOrPointer(C, V, ArgRange, ArgEx, BT, ParamDecl, BD))
197 LazyInit_BT(BD, BT);
202 BugReport *R = new BugReport(*BT, Desc, N);
262 LazyInit_BT(BD, BT);
284 BugReport *R = new BugReport(*BT, os.str(), N);
344 BugType *BT = BT_cxx_delete_undef.get();
345 BugReport *R = new BugReport(*BT, Desc, N);
415 std::unique_ptr<BugType> *BT;
417 BT = &BT_msg_arg;
419 BT = &BT_call_arg;
427 checkUninitFields, Call, *BT, ParamDecl))
440 BugType *BT = nullptr;
447 BT = BT_msg_undef.get();
453 BT = BT_objc_prop_undef.get();
459 BT = BT_objc_subscript_undef.get();
462 assert(BT && "Unknown message kind.");
464 BugReport *R = new BugReport(*BT, BT->getName(), N);