/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | FixedAddressChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon793::FixedAddressChecker 52 if (!BT) 53 BT.reset( 59 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
|
H A D | TaintTesterChecker.cpp | 27 mutable std::unique_ptr<BugType> BT; member in class:__anon851::TaintTesterChecker 42 if (!BT) 43 BT.reset(new BugType(this, "Tainted data", "General")); 55 auto report = std::make_unique<PathSensitiveBugReport>(*BT, "tainted", N);
|
H A D | ReturnPointerRangeChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon845::ReturnPointerRangeChecker 71 if (!BT) 72 BT.reset(new BuiltinBug( 83 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
|
H A D | PointerSubChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon841::PointerSubChecker 61 if (!BT) 62 BT.reset( 67 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
|
H A D | UndefinedArraySubscriptChecker.cpp | 27 mutable std::unique_ptr<BugType> BT; member in class:__anon856::UndefinedArraySubscriptChecker 51 if (!BT) 52 BT.reset(new BuiltinBug(this, "Array subscript is undefined")); 55 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
|
H A D | ArrayBoundChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon737::ArrayBoundChecker 68 if (!BT) 69 BT.reset(new BuiltinBug( 79 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
|
H A D | NSAutoreleasePoolChecker.cpp | 34 mutable std::unique_ptr<BugType> BT; member in class:__anon822::NSAutoreleasePoolChecker 60 if (!BT) 61 BT.reset(new BugType(this, "Use -drain instead of -release", 71 *BT,
|
H A D | UndefBranchChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon853::UndefBranchChecker 67 if (!BT) 68 BT.reset(new BuiltinBug( 100 *BT, BT->getDescription(), N);
|
H A D | MmapWriteExecChecker.cpp | 34 mutable std::unique_ptr<BugType> BT; member in class:__anon819::MmapWriteExecChecker 63 if (!BT) 64 BT.reset(new BugType(this, "W^X check fails, Write Exec prot flags set", "Security")); 71 *BT, "Both PROT_WRITE and PROT_EXEC flags are set. This can "
|
H A D | UndefinedAssignmentChecker.cpp | 26 mutable std::unique_ptr<BugType> BT; member in class:__anon857::UndefinedAssignmentChecker 55 if (!BT) 56 BT.reset(new BuiltinBug(this, DefaultMsg)); 111 auto R = std::make_unique<PathSensitiveBugReport>(*BT, OS.str(), N);
|
H A D | UndefCapturedBlockVarChecker.cpp | 29 mutable std::unique_ptr<BugType> BT; member in class:__anon854::UndefCapturedBlockVarChecker 75 if (!BT) 76 BT.reset( 86 auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
|
H A D | CallAndMessageChecker.cpp | 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 std::unique_ptr<BugType> &BT, 92 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C, argument 98 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); 145 std::unique_ptr<BugType> &BT, cons 143 uninitRefOrPointer( CheckerContext &C, const SVal &V, SourceRange ArgRange, const Expr *ArgEx, std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl, const char *BD, int ArgumentNumber) const argument 232 PreVisitProcessArg(CheckerContext &C, SVal V, SourceRange ArgRange, const Expr *ArgEx, int ArgumentNumber, bool CheckUninitFields, const CallEvent &Call, std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl ) const argument 360 BugType *BT = BT_cxx_delete_undef.get(); local 435 std::unique_ptr<BugType> *BT; local 461 BugType *BT = nullptr; local [all...] |
H A D | CastSizeChecker.cpp | 25 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon755::CastSizeChecker 131 if (!BT) 132 BT.reset(new BuiltinBug(this, "Cast region with wrong size.", 135 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(),
|
H A D | DeleteWithNonVirtualDtorChecker.cpp | 39 mutable std::unique_ptr<BugType> BT; member in class:__anon784::DeleteWithNonVirtualDtorChecker 88 if (!BT) 89 BT.reset(new BugType(this, 95 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
|
H A D | BoolAssignmentChecker.cpp | 25 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon748::BoolAssignmentChecker 35 if (!BT) 36 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value")); 39 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N));
|
H A D | DivZeroChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon787::DivZeroChecker 47 if (!BT) 48 BT.reset(new BuiltinBug(this, "Division by zero")); 50 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Msg, N);
|
H A D | ReturnUndefChecker.cpp | 80 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE, argument 87 std::make_unique<PathSensitiveBugReport>(BT, BT.getDescription(), N);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/plugins/SampleAnalyzer/ |
H A D | MainCallChecker.cpp | 11 mutable std::unique_ptr<BugType> BT; member in class:__anon310::MainCallChecker 36 if (!BT) 37 BT.reset(new BugType(this, "call to main", "example analyzer plugin")); 40 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | BitTracker.cpp | 45 // BitTracker BT(TSE, MF); 46 // BT.run(); 49 // RegisterCell RC = BT.get(Reg); 73 using BT = BitTracker; 97 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) { 99 case BT::BitValue::Top: 102 case BT::BitValue::Zero: 105 case BT::BitValue::One: 108 case BT::BitValue::Ref: 115 raw_ostream &operator<<(raw_ostream &OS, const BT [all...] |
H A D | HexagonBitTracker.cpp | 38 using BT = BitTracker; 89 BT::BitMask HexagonEvaluator::mask(unsigned Reg, unsigned Sub) const { 101 return IsSubLo ? BT::BitMask(0, RW-1) 102 : BT::BitMask(RW, 2*RW-1); 163 std::vector<BT::RegisterRef> Vector; 170 Vector[i] = BT::RegisterRef(MO); 178 const BT::RegisterRef &operator[](unsigned n) const { 260 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs) 267 uint16_t W) -> BT::RegisterCell { 277 auto lo = [this] (const BT [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountDiagnostics.h | 39 RefCountBug(const CheckerBase *checker, RefCountBugType BT); 43 return BT; 51 RefCountBugType BT; member in class:clang::ento::retaincountchecker::RefCountBug 53 static StringRef bugTypeToName(RefCountBugType BT);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeSymbolEnumerator.cpp | 75 const NativeTypeBuiltin &BT = Parent.getUnderlyingBuiltinType(); local 77 switch (BT.getBuiltinType()) { 81 assert(Record.Value.isSignedIntN(BT.getLength() * 8)); 83 switch (BT.getLength()) { 97 assert(Record.Value.isIntN(BT.getLength() * 8)); 99 switch (BT.getLength()) { 112 assert(Record.Value.isIntN(BT.getLength() * 8));
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTCommon.h | 47 TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT); 62 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) 63 return TypeIdxFromBuiltin(BT).asTypeID(FastQuals);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ModuleDebugInfoPrinter.cpp | 107 if (auto *BT = dyn_cast<DIBasicType>(T)) { 109 auto Encoding = dwarf::AttributeEncodingString(BT->getEncoding()); 113 O << "unknown-encoding(" << BT->getEncoding() << ')';
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyInfoImpl.h | 66 template <class BT> struct BlockEdgesAdder; 840 template <class BT> class BlockFrequencyInfoImpl : BlockFrequencyInfoImplBase { 842 friend struct bfi_detail::BlockEdgesAdder<BT>; 844 using BlockT = typename bfi_detail::TypeMap<BT>::BlockT; 845 using FunctionT = typename bfi_detail::TypeMap<BT>::FunctionT; 847 typename bfi_detail::TypeMap<BT>::BranchProbabilityInfoT; 848 using LoopT = typename bfi_detail::TypeMap<BT>::LoopT; 849 using LoopInfoT = typename bfi_detail::TypeMap<BT>::LoopInfoT; 1019 template <class BT> 1020 void BlockFrequencyInfoImpl<BT> [all...] |