Home
last modified time | relevance | path

Searched refs:CheckName (Results 1 – 17 of 17) sorted by relevance

/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugType.h33 const CheckName Check;
40 BugType(class CheckName check, StringRef name, StringRef cat) in BugType()
65 BuiltinBug(class CheckName check, const char *name, const char *description) in BuiltinBug()
DBugReporter.h474 void EmitBasicReport(const Decl *DeclWithIssue, CheckName CheckName,
484 BugType *getBugTypeForName(CheckName CheckName, StringRef name,
DPathDiagnostic.h718 std::string CheckName; variable
739 PathDiagnostic(StringRef CheckName, const Decl *DeclWithIssue,
797 StringRef getCheckName() const { return CheckName; } in getCheckName()
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h86 class CheckName {
89 explicit CheckName(StringRef Name) : Name(Name) {} in CheckName() function
92 CheckName() {} in CheckName() function
93 CheckName(const CheckName &Other) : Name(Other.Name) {} in CheckName() function
100 CheckName CurrentCheckName;
110 void setCurrentCheckName(CheckName name) { CurrentCheckName = name; } in setCurrentCheckName()
111 CheckName getCurrentCheckName() const { return CurrentCheckName; } in getCurrentCheckName()
DChecker.h452 CheckName Name;
457 CheckName getCheckName() const;
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp51 CheckName checkName_gets;
52 CheckName checkName_getpw;
53 CheckName checkName_mktemp;
54 CheckName checkName_mkstemp;
55 CheckName checkName_strcpy;
56 CheckName checkName_rand;
57 CheckName checkName_vfork;
58 CheckName checkName_FloatLoopCounter;
59 CheckName checkName_UncheckedReturn;
DIvarInvalidationChecker.cpp53 CheckName checkName_MissingInvalidationMethod;
54 CheckName checkName_InstanceVariableInvalidation;
206 void reportNoInvalidationMethod(CheckName CheckName,
532 CheckName CheckName, const ObjCIvarDecl *FirstIvarDecl, in reportNoInvalidationMethod() argument
549 BR.EmitBasicReport(FirstIvarDecl, CheckName, "Incomplete invalidation", in reportNoInvalidationMethod()
DCallAndMessageChecker.cpp35 CheckName CheckName_CallAndMessageUnInitRefArg;
36 CheckName CheckName_CallAndMessageChecker;
DCStringChecker.cpp52 CheckName CheckNameCStringNullArg;
53 CheckName CheckNameCStringOutOfBounds;
54 CheckName CheckNameCStringBufferOverlap;
55 CheckName CheckNameCStringNotNullTerm;
2080 checker->Filter.CheckName##name = mgr.getCurrentCheckName(); \
DMallocChecker.cpp197 CheckName CheckNames[CK_NumCheckKinds];
/external/clang/lib/StaticAnalyzer/Core/
DChecker.cpp24 CheckName CheckerBase::getCheckName() const { return Name; } in getCheckName()
DCheckerRegistry.cpp109 checkerMgr.setCurrentCheckName(CheckName((*i)->FullName)); in initializeManager()
DBugReporter.cpp3458 CheckName CheckName, in EmitBasicReport() argument
3464 BugType *BT = getBugTypeForName(CheckName, name, category); in EmitBasicReport()
3473 BugType *BugReporter::getBugTypeForName(CheckName CheckName, StringRef name, in getBugTypeForName() argument
3476 llvm::raw_svector_ostream(fullDesc) << CheckName.getName() << ":" << name in getBugTypeForName()
3480 BT = new BugType(CheckName, name, category); in getBugTypeForName()
DPathDiagnostic.cpp110 PathDiagnostic::PathDiagnostic(StringRef CheckName, const Decl *declWithIssue, in PathDiagnostic() argument
115 : CheckName(CheckName), in PathDiagnostic()
/external/clang/lib/CodeGen/
DCGExpr.cpp2261 StringRef CheckName, in emitCheckHandlerCall() argument
2267 std::string FnName = ("__ubsan_handle_" + CheckName + in emitCheckHandlerCall()
2294 StringRef CheckName, ArrayRef<llvm::Constant *> StaticArgs, in EmitCheck() argument
2337 llvm::BasicBlock *Handlers = createBasicBlock("handler." + CheckName); in EmitCheck()
2375 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, in EmitCheck()
2381 createBasicBlock("non_fatal." + CheckName); in EmitCheck()
2382 llvm::BasicBlock *FatalHandlerBB = createBasicBlock("fatal." + CheckName); in EmitCheck()
2385 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, true, in EmitCheck()
2388 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, false, in EmitCheck()
DCGExprScalar.cpp922 StringRef CheckName; in EmitBinOpCheck() local
933 CheckName = "negate_overflow"; in EmitBinOpCheck()
939 CheckName = "shift_out_of_bounds"; in EmitBinOpCheck()
947 CheckName = "divrem_overflow"; in EmitBinOpCheck()
952 case BO_Add: CheckName = "add_overflow"; break; in EmitBinOpCheck()
953 case BO_Sub: CheckName = "sub_overflow"; break; in EmitBinOpCheck()
954 case BO_Mul: CheckName = "mul_overflow"; break; in EmitBinOpCheck()
963 CGF.EmitCheck(Checks, CheckName, StaticData, DynamicData); in EmitBinOpCheck()
DCodeGenFunction.h2797 StringRef CheckName, ArrayRef<llvm::Constant *> StaticArgs,