HomeSort by relevance Sort by last modified time
    Searched defs:BT (Results 1 - 25 of 47) sorted by null

1 2

  /external/clang/lib/StaticAnalyzer/Checkers/
UndefinedArraySubscriptChecker.cpp 27 mutable OwningPtr<BugType> BT;
39 if (!BT)
40 BT.reset(new BuiltinBug("Array subscript is undefined"));
43 BugReport *R = new BugReport(*BT, BT->getName(), N);
FixedAddressChecker.cpp 28 mutable OwningPtr<BuiltinBug> BT;
54 if (!BT)
55 BT.reset(new BuiltinBug("Use fixed address",
59 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
ReturnUndefChecker.cpp 28 mutable OwningPtr<BuiltinBug> BT;
49 if (!BT)
50 BT.reset(new BuiltinBug("Garbage return value",
54 new BugReport(*BT, BT->getDescription(), N);
TaintTesterChecker.cpp 25 mutable OwningPtr<BugType> BT;
40 if (!BT)
41 BT.reset(new BugType("Tainted data", "General"));
53 BugReport *report = new BugReport(*BT, "tainted",N);
NSAutoreleasePoolChecker.cpp 35 mutable OwningPtr<BugType> BT;
70 if (!BT)
71 BT.reset(new BugType("Use -drain instead of -release",
80 BugReport *Report = new BugReport(*BT, "Use -drain instead of -release when "
PointerArithChecker.cpp 27 mutable OwningPtr<BuiltinBug> BT;
55 if (!BT)
56 BT.reset(new BuiltinBug("Dangerous pointer arithmetic",
60 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
UndefinedAssignmentChecker.cpp 27 mutable OwningPtr<BugType> BT;
48 if (!BT)
49 BT.reset(new BuiltinBug(str));
78 BugReport *R = new BugReport(*BT, str, N);
AdjustedReturnValueChecker.cpp 66 const BlockPointerType *BT=BR->getLocationType()->getAs<BlockPointerType>();
67 const FunctionType *FT = BT->getPointeeType()->getAs<FunctionType>();
ArrayBoundChecker.cpp 28 mutable OwningPtr<BuiltinBug> BT;
68 if (!BT)
69 BT.reset(new BuiltinBug("Out-of-bound array access",
78 new BugReport(*BT, BT->getDescription(), N);
CastSizeChecker.cpp 26 mutable OwningPtr<BuiltinBug> BT;
71 if (!BT)
72 BT.reset(new BuiltinBug("Cast region with wrong size.",
75 BugReport *R = new BugReport(*BT, BT->getDescription(),
CastToStructChecker.cpp 27 mutable OwningPtr<BuiltinBug> BT;
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);
DivZeroChecker.cpp 26 mutable OwningPtr<BuiltinBug> BT;
39 if (!BT)
40 BT.reset(new BuiltinBug("Division by zero"));
43 new BugReport(*BT, Msg, N);
PointerSubChecker.cpp 28 mutable OwningPtr<BuiltinBug> BT;
64 if (!BT)
65 BT.reset(new BuiltinBug("Pointer subtraction",
68 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
ReturnPointerRangeChecker.cpp 28 mutable OwningPtr<BuiltinBug> BT;
71 if (!BT)
72 BT.reset(new BuiltinBug("Return of pointer value outside of expected range",
82 new BugReport(*BT, BT->getDescription(), N);
UndefBranchChecker.cpp 27 mutable OwningPtr<BuiltinBug> BT;
69 if (!BT)
70 BT.reset(
101 BugReport *R = new BugReport(*BT, BT->getDescription(), N);
UndefCapturedBlockVarChecker.cpp 29 mutable OwningPtr<BugType> BT;
83 if (!BT)
84 BT.reset(new BuiltinBug("uninitialized variable captured by block"));
93 BugReport *R = new BugReport(*BT, os.str(), N);
UndefResultChecker.cpp 30 mutable OwningPtr<BugType> BT;
47 if (!BT)
48 BT.reset(new BuiltinBug("Result of operation is garbage or undefined"));
76 BugReport *report = new BugReport(*BT, OS.str(), N);
AttrNonNullChecker.cpp 27 mutable OwningPtr<BugType> BT;
100 if (!BT)
101 BT.reset(new BugType("Argument with 'nonnull' attribute passed null",
105 new BugReport(*BT, "Null pointer passed as an argument to a "
BoolAssignmentChecker.cpp 26 mutable llvm::OwningPtr<BuiltinBug> BT;
36 if (!BT)
37 BT.reset(new BuiltinBug("Assignment of a non-Boolean value"));
38 C.EmitReport(new BugReport(*BT, BT->getDescription(), N));
  /external/clang/examples/analyzer-plugin/
MainCallChecker.cpp 11 mutable OwningPtr<BugType> BT;
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/AST/
NSAPI.cpp 255 const BuiltinType *BT = T->getAs<BuiltinType>();
256 if (!BT)
259 switch (BT->getKind()) {
  /frameworks/rs/
rsScriptC.h 70 bcinfo::BitcodeTranslator *BT;
  /external/clang/lib/Analysis/
ScanfFormatString.cpp 319 const BuiltinType *BT = PT->getAs<BuiltinType>();
320 if (!BT)
334 switch (BT->getKind()) {
PrintfFormatString.cpp 363 const BuiltinType *BT = QT->getAs<BuiltinType>();
364 if (!BT)
368 switch (BT->getKind()) {
  /frameworks/compile/libbcc/bcinfo/tools/
main.cpp 212 bcinfo::BitcodeTranslator *BT =
214 if (!BT->translate()) {
220 new bcinfo::MetadataExtractor(BT->getTranslatedBitcode(),
221 BT->getTranslatedBitcodeSize());
230 delete BT;

Completed in 220 milliseconds

1 2