/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | FixedAddressChecker.cpp | 28 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3421::FixedAddressChecker 54 if (!BT) 55 BT.reset(new BuiltinBug("Use fixed address", 59 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
H A D | UndefinedArraySubscriptChecker.cpp | 28 mutable OwningPtr<BugType> BT; member in class:__anon3478::UndefinedArraySubscriptChecker 52 if (!BT) 53 BT.reset(new BuiltinBug("Array subscript is undefined")); 56 BugReport *R = new BugReport(*BT, BT->getName(), N);
|
H A D | NSAutoreleasePoolChecker.cpp | 35 mutable OwningPtr<BugType> BT; member in class:__anon3438::NSAutoreleasePoolChecker 61 if (!BT) 62 BT.reset(new BugType("Use -drain instead of -release", 71 BugReport *Report = new BugReport(*BT, "Use -drain instead of -release when "
|
H A D | TaintTesterChecker.cpp | 25 mutable OwningPtr<BugType> BT; member in class:__anon3472::TaintTesterChecker 40 if (!BT) 41 BT.reset(new BugType("Tainted data", "General")); 53 BugReport *report = new BugReport(*BT, "tainted",N);
|
H A D | ExprInspectionChecker.cpp | 21 mutable OwningPtr<BugType> BT; member in class:__anon3420::ExprInspectionChecker 97 if (!BT) 98 BT.reset(new BugType("Checking analyzer assumptions", "debug")); 100 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N); 108 if (!BT) 109 BT.reset(new BugType("Checking analyzer assumptions", "debug")); 111 BugReport *R = new BugReport(*BT, "REACHABLE", N); 128 if (!BT) 129 BT.reset(new BugType("Checking analyzer assumptions", "debug")); 131 BugReport *R = new BugReport(*BT, getArgumentValueStrin [all...] |
H A D | ArrayBoundChecker.cpp | 28 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3378::ArrayBoundChecker 68 if (!BT) 69 BT.reset(new BuiltinBug("Out-of-bound array access", 78 new BugReport(*BT, BT->getDescription(), N);
|
H A D | CastToStructChecker.cpp | 27 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3395::CastToStructChecker 60 if (!BT) 61 BT.reset(new BuiltinBug("Cast from non-struct type to struct type", 65 BugReport *R = new BugReport(*BT,BT->getDescription(), N);
|
H A D | PointerArithChecker.cpp | 27 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3455::PointerArithChecker 55 if (!BT) 56 BT.reset(new BuiltinBug("Dangerous pointer arithmetic", 60 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
H A D | PointerSubChecker.cpp | 28 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3456::PointerSubChecker 64 if (!BT) 65 BT.reset(new BuiltinBug("Pointer subtraction", 68 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
H A D | ReturnPointerRangeChecker.cpp | 28 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3466::ReturnPointerRangeChecker 71 if (!BT) 72 BT.reset(new BuiltinBug("Return of pointer value outside of expected range", 82 new BugReport(*BT, BT->getDescription(), N);
|
H A D | UndefinedAssignmentChecker.cpp | 27 mutable OwningPtr<BugType> BT; member in class:__anon3479::UndefinedAssignmentChecker 56 if (!BT) 57 BT.reset(new BuiltinBug(str)); 86 BugReport *R = new BugReport(*BT, str, N);
|
H A D | CastSizeChecker.cpp | 26 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3394::CastSizeChecker 71 if (!BT) 72 BT.reset(new BuiltinBug("Cast region with wrong size.", 75 BugReport *R = new BugReport(*BT, BT->getDescription(),
|
H A D | UndefBranchChecker.cpp | 27 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3475::UndefBranchChecker 69 if (!BT) 70 BT.reset( 101 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
|
H A D | DivZeroChecker.cpp | 26 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3418::DivZeroChecker 39 if (!BT) 40 BT.reset(new BuiltinBug("Division by zero")); 42 BugReport *R = new BugReport(*BT, Msg, N);
|
H A D | UndefCapturedBlockVarChecker.cpp | 30 mutable OwningPtr<BugType> BT; member in class:__anon3476::UndefCapturedBlockVarChecker 81 if (!BT) 82 BT.reset(new BuiltinBug("uninitialized variable captured by block")); 91 BugReport *R = new BugReport(*BT, os.str(), N);
|
H A D | UndefResultChecker.cpp | 31 mutable OwningPtr<BugType> BT; member in class:__anon3477::UndefResultChecker 57 if (!BT) 58 BT.reset(new BuiltinBug("Result of operation is garbage or undefined")); 86 BugReport *report = new BugReport(*BT, OS.str(), N);
|
H A D | BoolAssignmentChecker.cpp | 26 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3388::BoolAssignmentChecker 36 if (!BT) 37 BT.reset(new BuiltinBug("Assignment of a non-Boolean value")); 38 C.emitReport(new BugReport(*BT, BT->getDescription(), N));
|
H A D | CallAndMessageChecker.cpp | 58 const CallEvent &Call, OwningPtr<BugType> &BT); 60 static void emitBadCall(BugType *BT, CheckerContext &C, const Expr *BadE); 68 static void LazyInit_BT(const char *desc, OwningPtr<BugType> &BT) { argument 69 if (!BT) 70 BT.reset(new BuiltinBug(desc)); 75 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C, argument 81 BugReport *R = new BugReport(*BT, BT->getName(), N); 122 OwningPtr<BugType> &BT) { 125 LazyInit_BT("Uninitialized argument value", BT); 116 PreVisitProcessArg(CheckerContext &C, SVal V, SourceRange argRange, const Expr *argEx, bool IsFirstArgument, bool checkUninitFields, const CallEvent &Call, OwningPtr<BugType> &BT) argument 273 BugType *BT = BT_cxx_delete_undef.get(); local 343 OwningPtr<BugType> *BT; local 364 BugType *BT = 0; local [all...] |
H A D | ReturnUndefChecker.cpp | 81 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE, argument 87 BugReport *Report = new BugReport(BT, BT.getDescription(), N);
|
H A D | ObjCContainersChecker.cpp | 33 mutable OwningPtr<BugType> BT; member in class:__anon3448::ObjCContainersChecker 35 if (!BT) 36 BT.reset(new BugType("CFArray API", 140 BugReport *R = new BugReport(*BT, "Index is out of bounds", N);
|
H A D | VLASizeChecker.cpp | 32 mutable OwningPtr<BugType> BT; member in class:__anon3482::VLASizeChecker 53 if (!BT) 54 BT.reset(new BuiltinBug("Dangerous variable-length array (VLA) declaration")); 71 BugReport *report = new BugReport(*BT, os.str(), N);
|
H A D | BasicObjCFoundationChecks.cpp | 97 mutable OwningPtr<APIMisuse> BT; member in class:__anon3381::NilArgChecker 190 if (!BT) 191 BT.reset(new APIMisuse("nil argument")); 193 BugReport *R = new BugReport(*BT, Msg, N); 312 mutable OwningPtr<APIMisuse> BT; member in class:__anon3382::CFNumberCreateChecker 482 if (!BT) 483 BT.reset(new APIMisuse("Bad use of CFNumberCreate")); 485 BugReport *report = new BugReport(*BT, os.str(), N); 497 mutable OwningPtr<APIMisuse> BT; member in class:__anon3383::CFRetainReleaseChecker 517 if (!BT) { 589 mutable OwningPtr<BugType> BT; member in class:__anon3384::ClassReleaseChecker 646 mutable OwningPtr<BugType> BT; member in class:__anon3385::VariadicMethodTypeChecker [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/ |
H A D | ASTCommon.h | 33 TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT); 48 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) 49 return TypeIdxFromBuiltin(BT).asTypeID(FastQuals);
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | Type.cpp | 630 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) 631 return BT->getKind() >= BuiltinType::Bool && 632 BT->getKind() <= BuiltinType::Int128; 643 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) 644 return BT->getKind() >= BuiltinType::Bool && 645 BT->getKind() <= BuiltinType::Int128; 660 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) 661 return BT->getKind() == BuiltinType::Char_U || 662 BT->getKind() == BuiltinType::UChar || 663 BT 690 const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType); local [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | BugReporter.h | 73 BugType& BT; member in class:clang::ento::BugReport 146 : BT(bt), DeclWithIssue(0), Description(desc), ErrorNode(errornode), 151 : BT(bt), DeclWithIssue(0), ShortDescription(shortDesc), Description(desc), 156 : BT(bt), DeclWithIssue(0), Description(desc), Location(l), ErrorNode(0), 169 : BT(bt), DeclWithIssue(0), Description(desc), 177 const BugType& getBugType() const { return BT; } 178 BugType& getBugType() { return BT; } 457 void Register(BugType *BT);
|