Home
last modified time | relevance | path

Searched refs:FunDecl (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h332 StringRef getCalleeName(const FunctionDecl *FunDecl) const;
336 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() local
337 if (FunDecl) in getCalleeIdentifier()
338 return FunDecl->getIdentifier(); in getCalleeIdentifier()
345 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName() local
346 return getCalleeName(FunDecl); in getCalleeName()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp186 return FunDecl->hasAttr<TestTypestateAttr>(); in isTestingFunction()
266 assert(isTestingFunction(FunDecl)); in testsFor()
495 const FunctionDecl *FunDecl,
741 const FunctionDecl *FunDecl = Call->getDirectCallee(); in VisitCallExpr() local
742 if (!FunDecl) in VisitCallExpr()
752 handleCall(Call, nullptr, FunDecl); in VisitCallExpr()
753 propagateReturnType(Call, FunDecl); in VisitCallExpr()
815 if (!FunDecl) return; in VisitCXXOperatorCallExpr()
819 if (!handleCall(Call, Call->getArg(0), FunDecl)) in VisitCXXOperatorCallExpr()
827 handleCall(Call, Call->getArg(0), FunDecl); in VisitCXXOperatorCallExpr()
[all …]
H A DThreadSafety.cpp1531 auto *FunDecl = dyn_cast_or_null<NamedDecl>(Exp->getCalleeDecl()); in getEdgeLockset() local
1532 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1539 for (const auto *Attr : FunDecl->attrs()) { in getEdgeLockset()
1544 Exp, FunDecl, PredBlock, CurrBlock, A->getSuccessValue(), in getEdgeLockset()
1551 getMutexIDs(ExclusiveLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
1558 getMutexIDs(SharedLocksToAdd, A, Exp, FunDecl, in getEdgeLockset()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp31 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName()
32 if (!FunDecl) in getCalleeName()
34 IdentifierInfo *funI = FunDecl->getIdentifier(); in getCalleeName()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.h124 bool SynthesizeFunctionResult(clang::FunctionDecl *FunDecl);
H A DASTResultSynthesizer.cpp114 bool ASTResultSynthesizer::SynthesizeFunctionResult(FunctionDecl *FunDecl) { in SynthesizeFunctionResult() argument
120 FunctionDecl *function_decl = FunDecl; in SynthesizeFunctionResult()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp2857 Decl *FunDecl = in ParseCXXClassMemberDeclaration() local
2861 if (FunDecl) { in ParseCXXClassMemberDeclaration()
2863 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2866 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
2875 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl)); in ParseCXXClassMemberDeclaration()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp12062 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local
12065 if (!Caller->isImplicit() && !S.IsAllowedCUDACall(Caller, FunDecl)) in AddMatchingNonTemplateFunction()
12067 if (FunDecl->isMultiVersion()) { in AddMatchingNonTemplateFunction()
12068 const auto *TA = FunDecl->getAttr<TargetAttr>(); in AddMatchingNonTemplateFunction()
12075 if (completeFunctionType(S, FunDecl, SourceExpr->getBeginLoc(), in AddMatchingNonTemplateFunction()
12081 if (!S.checkAddressOfFunctionIsAvailable(FunDecl)) in AddMatchingNonTemplateFunction()
12086 candidateHasExactlyCorrectType(FunDecl)) { in AddMatchingNonTemplateFunction()
12088 CurAccessFunPair, cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp1642 FunctionDecl *FunDecl; in ImportDeclParts() local
1643 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts()
1644 FunDecl->hasBody()) { in ImportDeclParts()
1651 for (const ParmVarDecl *P : FunDecl->parameters()) { in ImportDeclParts()