Lines Matching refs:BT
54 const CallEvent &Call, OwningPtr<BugType> &BT);
56 static void emitBadCall(BugType *BT, CheckerContext &C, const Expr *BadE);
64 static void LazyInit_BT(const char *desc, OwningPtr<BugType> &BT) {
65 if (!BT)
66 BT.reset(new BuiltinBug(desc));
71 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C,
77 BugReport *R = new BugReport(*BT, BT->getName(), N);
118 OwningPtr<BugType> &BT) {
121 LazyInit_BT("Uninitialized argument value", BT);
126 BugReport *R = new BugReport(*BT, Desc, N);
187 LazyInit_BT("Uninitialized argument value", BT);
209 BugReport *R = new BugReport(*BT, os.str(), N);
314 OwningPtr<BugType> *BT;
316 BT = &BT_msg_arg;
318 BT = &BT_call_arg;
323 checkUninitFields, Call, *BT))
335 BugType *BT = 0;
341 BT = BT_msg_undef.get();
348 BT = BT_objc_prop_undef.get();
355 BT = BT_objc_subscript_undef.get();
358 assert(BT && "Unknown message kind.");
360 BugReport *R = new BugReport(*BT, BT->getName(), N);