Lines Matching refs:FunctionDecl
117 if (const auto *FD = dyn_cast<FunctionDecl>(D)) {
311 if (const auto *FD = dyn_cast<FunctionDecl>(&D)) {
325 if (const FunctionDecl *MemberDecl =
574 if (isa<ObjCMethodDecl>(D) || isa<FunctionDecl>(D)) {
2949 void ASTContext::adjustDeducedFunctionResultType(FunctionDecl *FD,
2956 if (FunctionDecl *Next = FD->getPreviousDecl())
3029 FunctionDecl *FD, const FunctionProtoType::ExceptionSpecInfo &ESI,
4239 FunctionType::ExceptionType, Expr *, FunctionDecl *,
6809 ASTContext::getObjCEncodingForFunctionDecl(const FunctionDecl *Decl) const {
8185 bool ASTContext::canBuiltinBeRedeclared(const FunctionDecl *FD) const {
9898 void ASTMutationListener::DeducedReturnType(const FunctionDecl *FD,
10308 const FunctionDecl *FD) {
10414 GVALinkage ASTContext::GetGVALinkageForFunction(const FunctionDecl *FD) const {
10427 while (LexicalContext && !isa<FunctionDecl>(LexicalContext))
10430 // ObjC Blocks can create local variables that don't have a FunctionDecl
10438 Context.GetGVALinkageForFunction(cast<FunctionDecl>(LexicalContext));
10513 } else if (const auto *FD = dyn_cast<FunctionDecl>(D)) {
10515 if (FD->getTemplatedKind() == FunctionDecl::TK_FunctionTemplate)
10549 isa<FunctionDecl>(D) &&
10550 cast<FunctionDecl>(D)->getTemplateSpecializationKind() ==
10577 if (const auto *FD = dyn_cast<FunctionDecl>(D)) {
10651 const FunctionDecl *FD,
10652 llvm::function_ref<void(FunctionDecl *)> Pred) const {
10654 llvm::SmallDenseSet<const FunctionDecl*, 4> SeenDecls;
10658 FunctionDecl *CurFD = CurDecl->getAsFunction()->getMostRecentDecl();
11211 const FunctionDecl *FD) const {
11225 const FunctionDecl *FD = GD.getDecl()->getAsFunction();