Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h352 StringRef getCalleeName(const FunctionDecl *FunDecl) const;
356 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier() local
357 if (FunDecl) in getCalleeIdentifier()
358 return FunDecl->getIdentifier(); in getCalleeIdentifier()
365 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName() local
366 return getCalleeName(FunDecl); in getCalleeName()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp32 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName()
33 if (!FunDecl) in getCalleeName()
35 IdentifierInfo *funI = FunDecl->getIdentifier(); in getCalleeName()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.h124 bool SynthesizeFunctionResult(clang::FunctionDecl *FunDecl);
H A DASTResultSynthesizer.cpp115 bool ASTResultSynthesizer::SynthesizeFunctionResult(FunctionDecl *FunDecl) { in SynthesizeFunctionResult() argument
121 FunctionDecl *function_decl = FunDecl; in SynthesizeFunctionResult()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp3169 Decl *FunDecl = ParseCXXInlineMethodDef(AS, AccessAttrs, DeclaratorInfo, in ParseCXXClassMemberDeclaration() local
3172 if (FunDecl) { in ParseCXXClassMemberDeclaration()
3174 CommonLateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
3177 LateParsedAttrs[i]->addDecl(FunDecl); in ParseCXXClassMemberDeclaration()
3186 return DeclGroupPtrTy::make(DeclGroupRef(FunDecl)); in ParseCXXClassMemberDeclaration()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp12944 if (FunctionDecl *FunDecl = dyn_cast<FunctionDecl>(Fn)) { in AddMatchingNonTemplateFunction() local
12948 !S.CUDA().IsAllowedCall(Caller, FunDecl)) in AddMatchingNonTemplateFunction()
12951 if (FunDecl->isMultiVersion()) { in AddMatchingNonTemplateFunction()
12952 const auto *TA = FunDecl->getAttr<TargetAttr>(); in AddMatchingNonTemplateFunction()
12955 const auto *TVA = FunDecl->getAttr<TargetVersionAttr>(); in AddMatchingNonTemplateFunction()
12962 if (completeFunctionType(S, FunDecl, SourceExpr->getBeginLoc(), in AddMatchingNonTemplateFunction()
12968 if (!S.checkAddressOfFunctionIsAvailable(FunDecl)) in AddMatchingNonTemplateFunction()
12973 candidateHasExactlyCorrectType(FunDecl)) { in AddMatchingNonTemplateFunction()
12975 CurAccessFunPair, cast<FunctionDecl>(FunDecl->getCanonicalDecl()))); in AddMatchingNonTemplateFunction()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp1885 FunctionDecl *FunDecl; in ImportDeclParts() local
1886 if (isa<RecordDecl>(D) && (FunDecl = dyn_cast<FunctionDecl>(OrigDC)) && in ImportDeclParts()
1887 FunDecl->hasBody()) { in ImportDeclParts()
1894 for (const ParmVarDecl *P : FunDecl->parameters()) { in ImportDeclParts()