Searched defs:BT (Results 1 - 25 of 49) sorted by relevance

12

/external/clang/lib/Serialization/
H A DASTCommon.cpp25 serialization::TypeIdxFromBuiltin(const BuiltinType *BT) { argument
27 switch (BT->getKind()) {
/external/clang/lib/StaticAnalyzer/Checkers/
H A DFixedAddressChecker.cpp28 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3874::FixedAddressChecker
54 if (!BT)
55 BT.reset(new BuiltinBug("Use fixed address",
59 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
H A DReturnUndefChecker.cpp28 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3922::ReturnUndefChecker
49 if (!BT)
50 BT.reset(new BuiltinBug("Garbage return value",
54 new BugReport(*BT, BT->getDescription(), N);
H A DTaintTesterChecker.cpp25 mutable OwningPtr<BugType> BT; member in class:__anon3925::TaintTesterChecker
40 if (!BT)
41 BT.reset(new BugType("Tainted data", "General"));
53 BugReport *report = new BugReport(*BT, "tainted",N);
H A DUndefinedArraySubscriptChecker.cpp27 mutable OwningPtr<BugType> BT; member in class:__anon3931::UndefinedArraySubscriptChecker
39 if (!BT)
40 BT.reset(new BuiltinBug("Array subscript is undefined"));
43 BugReport *R = new BugReport(*BT, BT->getName(), N);
H A DArrayBoundChecker.cpp28 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3832::ArrayBoundChecker
68 if (!BT)
69 BT.reset(new BuiltinBug("Out-of-bound array access",
78 new BugReport(*BT, BT->getDescription(), N);
H A DCastSizeChecker.cpp26 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3850::CastSizeChecker
71 if (!BT)
72 BT.reset(new BuiltinBug("Cast region with wrong size.",
75 BugReport *R = new BugReport(*BT, BT->getDescription(),
H A DCastToStructChecker.cpp27 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3851::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 DDivZeroChecker.cpp26 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3871::DivZeroChecker
39 if (!BT)
40 BT.reset(new BuiltinBug("Division by zero"));
42 BugReport *R = new BugReport(*BT, Msg, N);
H A DNSAutoreleasePoolChecker.cpp35 mutable OwningPtr<BugType> BT; member in class:__anon3889::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 DPointerArithChecker.cpp27 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3909::PointerArithChecker
55 if (!BT)
56 BT.reset(new BuiltinBug("Dangerous pointer arithmetic",
60 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
H A DPointerSubChecker.cpp28 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3910::PointerSubChecker
64 if (!BT)
65 BT.reset(new BuiltinBug("Pointer subtraction",
68 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
H A DReturnPointerRangeChecker.cpp28 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3921::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 DUndefResultChecker.cpp30 mutable OwningPtr<BugType> BT; member in class:__anon3930::UndefResultChecker
47 if (!BT)
48 BT.reset(new BuiltinBug("Result of operation is garbage or undefined"));
76 BugReport *report = new BugReport(*BT, OS.str(), N);
H A DUndefinedAssignmentChecker.cpp27 mutable OwningPtr<BugType> BT; member in class:__anon3932::UndefinedAssignmentChecker
48 if (!BT)
49 BT.reset(new BuiltinBug(str));
78 BugReport *R = new BugReport(*BT, str, N);
H A DAttrNonNullChecker.cpp28 mutable OwningPtr<BugType> BT; member in class:__anon3834::AttrNonNullChecker
97 if (!BT)
98 BT.reset(new BugType("Argument with 'nonnull' attribute passed null",
102 new BugReport(*BT, "Null pointer passed as an argument to a "
H A DExprInspectionChecker.cpp20 mutable OwningPtr<BugType> BT; member in class:__anon3873::ExprInspectionChecker
92 if (!BT)
93 BT.reset(new BugType("Checking analyzer assumptions", "debug"));
95 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N);
112 if (!BT)
113 BT.reset(new BugType("Checking analyzer assumptions", "debug"));
115 BugReport *R = new BugReport(*BT, getArgumentValueString(CE, C), N);
H A DUndefCapturedBlockVarChecker.cpp29 mutable OwningPtr<BugType> BT; member in class:__anon3929::UndefCapturedBlockVarChecker
83 if (!BT)
84 BT.reset(new BuiltinBug("uninitialized variable captured by block"));
93 BugReport *R = new BugReport(*BT, os.str(), N);
H A DBoolAssignmentChecker.cpp26 mutable llvm::OwningPtr<BuiltinBug> BT; member in class:__anon3844::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 DUndefBranchChecker.cpp27 mutable OwningPtr<BuiltinBug> BT; member in class:__anon3928::UndefBranchChecker
69 if (!BT)
70 BT.reset(
101 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
H A DObjCContainersChecker.cpp33 mutable OwningPtr<BugType> BT; member in class:__anon3901::ObjCContainersChecker
35 if (!BT)
36 BT.reset(new BugType("CFArray API",
147 BugReport *R = new BugReport(*BT, "Index is out of bounds", N);
H A DVLASizeChecker.cpp31 mutable OwningPtr<BugType> BT; member in class:__anon3935::VLASizeChecker
52 if (!BT)
53 BT.reset(new BuiltinBug("Dangerous variable-length array (VLA) declaration"));
70 BugReport *report = new BugReport(*BT, os.str(), N);
/external/clang/examples/analyzer-plugin/
H A DMainCallChecker.cpp11 mutable OwningPtr<BugType> BT; member in class:__anon3247::MainCallChecker
37 if (!BT)
38 BT.reset(new BugType("call to main", "example analyzer plugin"));
40 BugReport *report = new BugReport(*BT, BT->getName(), N);
/external/clang/lib/Analysis/
H A DScanfFormatString.cpp368 const BuiltinType *BT = PT->getAs<BuiltinType>(); local
369 if (!BT)
383 switch (BT->getKind()) {
/external/clang/lib/AST/
H A DNSAPI.cpp283 const BuiltinType *BT = T->getAs<BuiltinType>(); local
284 if (!BT)
298 switch (BT->getKind()) {

Completed in 165 milliseconds

12