Lines Matching defs:BT
113 std::unique_ptr<BugType> &BT,
116 static void emitBadCall(BugType *BT, CheckerContext &C, const Expr *BadE);
124 void LazyInit_BT(const char *desc, std::unique_ptr<BugType> &BT) const {
125 if (!BT)
126 BT.reset(new BuiltinBug(OriginalName, desc));
130 std::unique_ptr<BugType> &BT,
136 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C,
142 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
189 std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl, const char *BD,
224 LazyInit_BT(BD, BT);
225 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N);
286 std::unique_ptr<BugType> &BT,
291 if (uninitRefOrPointer(C, V, ArgRange, ArgEx, BT, ParamDecl, BD,
301 LazyInit_BT(BD, BT);
306 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Os.str(), N);
331 LazyInit_BT(BD, BT);
353 auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
503 BugType *BT = BT_cxx_delete_undef.get();
504 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Desc, N);
522 std::unique_ptr<BugType> *BT;
524 BT = &BT_msg_arg;
526 BT = &BT_call_arg;
534 Call.getArgExpr(i), i, checkUninitFields, Call, *BT,
584 BugType *BT = nullptr;
591 BT = BT_msg_undef.get();
598 BT = BT_objc_prop_undef.get();
605 BT = BT_objc_subscript_undef.get();
608 assert(BT && "Unknown message kind.");
610 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);