Home
last modified time | relevance | path

Searched refs:CheckFn (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h628 CheckDeclFunc CheckFn; member
640 CheckStmtFunc CheckFn; member
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h474 function_ref<bool(const APTy &)> CheckFn; member
475 bool isValue(const APTy &C) { return CheckFn(C); } in isValue()
481 m_CheckedInt(function_ref<bool(const APInt &)> CheckFn) { in m_CheckedInt() argument
482 return cst_pred_ty<custom_checkfn<APInt>>{{CheckFn}}; in m_CheckedInt()
486 m_CheckedInt(const Constant *&V, function_ref<bool(const APInt &)> CheckFn) { in m_CheckedInt() argument
487 return cst_pred_ty<custom_checkfn<APInt>>{{CheckFn}, &V}; in m_CheckedInt()
493 m_CheckedFp(function_ref<bool(const APFloat &)> CheckFn) { in m_CheckedFp() argument
494 return cstfp_pred_ty<custom_checkfn<APFloat>>{{CheckFn}}; in m_CheckedFp()
498 m_CheckedFp(const Constant *&V, function_ref<bool(const APFloat &)> CheckFn) { in m_CheckedFp() argument
499 return cstfp_pred_ty<custom_checkfn<APFloat>>{{CheckFn}, &V}; in m_CheckedFp()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp395 using CheckFn = std::function<void(const MallocChecker *, typedef in __anon0957485b0411::MallocChecker
398 const CallDescriptionMap<CheckFn> PreFnMap{
405 const CallDescriptionMap<CheckFn> FreeingMemFnMap{
418 CallDescriptionMap<CheckFn> AllocatingMemFnMap{
448 CallDescriptionMap<CheckFn> ReallocatingMemFnMap{
1448 if (const CheckFn *Callback = FreeingMemFnMap.lookup(Call)) { in checkPostCall()
1453 if (const CheckFn *Callback = AllocatingMemFnMap.lookup(Call)) { in checkPostCall()
1458 if (const CheckFn *Callback = ReallocatingMemFnMap.lookup(Call)) { in checkPostCall()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerManager.cpp88 checkers->push_back(info.CheckFn); in runCheckersOnASTDecl()
918 Checkers.push_back(Info.CheckFn); in getCachedStmtCheckersFor()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2630 const FunctionDecl *CheckFn = getTemplateInstantiationPattern(); in hasInlineBody() local
2631 if (!CheckFn) in hasInlineBody()
2632 CheckFn = this; in hasInlineBody()
2635 return CheckFn->isDefined(fn) && !fn->isOutOfLine() && in hasInlineBody()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp7222 template <typename CheckFn>
7225 CheckFn &&IsSuccessful) { in diagnoseDiagnoseIfAttrsWith()