HomeSort by relevance Sort by last modified time
    Searched refs:BugType (Results 1 - 25 of 27) sorted by null

1 2

  /external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
BugType.h 1 //===--- BugType.h - Bug Information Desciption ----------------*- C++ -*-===//
10 // This file defines BugType, a class representing a bug type.
28 class BugType {
34 BugType(llvm::StringRef name, llvm::StringRef cat)
36 virtual ~BugType();
51 class BuiltinBug : public BugType {
55 : BugType(name, "Logic error"), desc(description) {}
58 : BugType(name, "Logic error"), desc(name) {}
BugReporter.h 44 class BugType;
64 BugType& BT;
88 BugReport(BugType& bt, llvm::StringRef desc, const ExplodedNode *errornode)
91 BugReport(BugType& bt, llvm::StringRef shortDesc, llvm::StringRef desc,
100 const BugType& getBugType() const { return BT; }
101 BugType& getBugType() { return BT; }
203 RangedBugReport(BugType& D, llvm::StringRef description,
207 RangedBugReport(BugType& D, llvm::StringRef shortDescription,
246 EnhancedBugReport(BugType& D, llvm::StringRef description,
250 EnhancedBugReport(BugType& D, llvm::StringRef shortDescription
    [all...]
PathDiagnostic.h 368 std::string BugType;
376 PathDiagnostic(llvm::StringRef bugtype, llvm::StringRef desc,
382 llvm::StringRef getBugType() const { return BugType; }
  /external/clang/include/clang/StaticAnalyzer/Checkers/
LocalCheckers.h 35 class BugType;
  /external/clang/lib/StaticAnalyzer/Checkers/
MacOSXAPIChecker.cpp 22 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
34 mutable llvm::OwningPtr<BugType> BT_dispatchOnce;
69 BT_dispatchOnce.reset(new BugType("Improper use of 'dispatch_once'",
CallAndMessageChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
29 mutable llvm::OwningPtr<BugType> BT_call_null;
30 mutable llvm::OwningPtr<BugType> BT_call_undef;
31 mutable llvm::OwningPtr<BugType> BT_call_arg;
32 mutable llvm::OwningPtr<BugType> BT_msg_undef;
33 mutable llvm::OwningPtr<BugType> BT_msg_arg;
34 mutable llvm::OwningPtr<BugType> BT_msg_ret;
42 const char *BT_desc, llvm::OwningPtr<BugType> &BT);
44 const Expr *argEx, const char *BT_desc, llvm::OwningPtr<BugType> &BT);
46 static void EmitBadCall(BugType *BT, CheckerContext &C, const CallExpr *CE)
    [all...]
UnixAPIChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
31 mutable llvm::OwningPtr<BugType> BT_open, BT_pthreadOnce, BT_mallocZero;
50 static inline void LazyInitialize(llvm::OwningPtr<BugType> &BT,
54 BT.reset(new BugType(name, "Unix API"));
UndefinedArraySubscriptChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
27 mutable llvm::OwningPtr<BugType> BT;
NSErrorChecker.cpp 23 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
132 class NSErrorDerefBug : public BugType {
134 NSErrorDerefBug() : BugType("NSError** null dereference",
138 class CFErrorDerefBug : public BugType {
140 CFErrorDerefBug() : BugType("CFErrorRef* null dereference",
275 BugType *bug = 0;
DeadStoresChecker.cpp 107 const char* BugType = 0;
115 BugType = "Dead initialization";
121 BugType = "Dead increment";
123 if (!BugType) BugType = "Dead assignment";
134 BR.EmitBasicReport(BugType, "Dead store", msg, L, R);
AttrNonNullChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
27 mutable llvm::OwningPtr<BugType> BT;
96 // Lazily allocate the BugType object if it hasn't already been
100 BT.reset(new BugType("Argument with 'nonnull' attribute passed null",
VLASizeChecker.cpp 21 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
29 mutable llvm::OwningPtr<BugType> BT_zero;
30 mutable llvm::OwningPtr<BugType> BT_undef;
PthreadLockChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
28 mutable llvm::OwningPtr<BugType> BT_doublelock;
29 mutable llvm::OwningPtr<BugType> BT_lor;
118 BT_doublelock.reset(new BugType("Double locking", "Lock checker"));
182 BT_lor.reset(new BugType("Lock order reversal", "Lock checker"));
UndefResultChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
29 mutable llvm::OwningPtr<BugType> BT;
UndefinedAssignmentChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
27 mutable llvm::OwningPtr<BugType> BT;
UndefCapturedBlockVarChecker.cpp 19 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
28 mutable llvm::OwningPtr<BugType> BT;
BasicObjCFoundationChecks.cpp 24 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
35 class APIMisuse : public BugType {
37 APIMisuse(const char* name) : BugType(name, "API Misuse (Apple)") {}
436 mutable llvm::OwningPtr<BugType> BT;
492 mutable llvm::OwningPtr<BugType> BT;
ObjCSelfInitChecker.cpp 54 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
85 class InitSelfBug : public BugType {
88 InitSelfBug() : BugType("missing \"self = [(super or self) init...]\"",
IdempotentOperationChecker.cpp 53 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
347 BugType *BT = new BugType("Idempotent operation", "Dead code");
  /external/chromium/chrome/browser/
bug_report_util.h 33 enum BugType {
  /external/clang/lib/StaticAnalyzer/Core/
BugReporter.cpp 16 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
    [all...]
PathDiagnostic.cpp 79 PathDiagnostic::PathDiagnostic(llvm::StringRef bugtype, llvm::StringRef desc,
82 BugType(StripTrailingDots(bugtype)),
272 ID.AddString(BugType);
HTMLDiagnostics.cpp 253 const std::string& BugType = D.getBugType();
254 if (!BugType.empty())
255 os << "\n<!-- BUGTYPE " << BugType << " -->\n";
CFRefCount.cpp 23 #include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
    [all...]
  /external/clang/tools/scan-build/
scan-build 349 my $BugType = "";
359 if (/<!-- BUGTYPE (.*) -->$/) {
360 $BugType = $1;
392 push @$Index,[ $FName, $BugCategory, $BugType, $BugFile, $BugLine,
    [all...]

Completed in 533 milliseconds

1 2