Lines Matching defs:BT
21 StringRef RefCountBug::bugTypeToName(RefCountBug::RefCountBugKind BT) {
22 switch (BT) {
44 switch (BT) {
66 RefCountBug::RefCountBug(CheckerNameRef Checker, RefCountBugKind BT)
67 : BugType(Checker, bugTypeToName(BT), categories::MemoryRefCount,
68 /*SuppressOnSink=*/BT == LeakWithinFunction ||
69 BT == LeakAtReturn),
70 BT(BT) {}
456 const auto &BT = static_cast<const RefCountBug&>(BR.getBugType());
458 bool IsFreeUnowned = BT.getBugType() == RefCountBug::FreeNotOwned ||
459 BT.getBugType() == RefCountBug::DeallocNotOwned;