reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
8149 DeclarationNameInfo NameInfo = SemaRef.GetNameForDeclarator(D); 8153 bool isInline = D.getDeclSpec().isInlineSpecified(); 8163 (D.isFunctionDeclarator() && D.getFunctionTypeInfo().hasPrototype) || 8163 (D.isFunctionDeclarator() && D.getFunctionTypeInfo().hasPrototype) || 8166 NewFD = FunctionDecl::Create(SemaRef.Context, DC, D.getBeginLoc(), NameInfo, 8169 if (D.isInvalidType()) 8175 ExplicitSpecifier ExplicitSpecifier = D.getDeclSpec().getExplicitSpecifier(); 8177 ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier(); 8179 SemaRef.Diag(D.getDeclSpec().getConstexprSpecLoc(), 8183 D.getMutableDeclSpec().ClearConstexprSpec(); 8191 D.getIdentifierLoc(), R->castAs<FunctionType>()->getReturnType(), 8193 D.setInvalidType(); 8200 R = SemaRef.CheckConstructorDeclarator(D, R, SC); 8202 SemaRef.Context, cast<CXXRecordDecl>(DC), D.getBeginLoc(), NameInfo, R, 8209 R = SemaRef.CheckDestructorDeclarator(D, R, SC); 8212 SemaRef.Context, Record, D.getBeginLoc(), NameInfo, R, TInfo, 8226 SemaRef.Diag(D.getIdentifierLoc(), diag::err_destructor_not_member); 8227 D.setInvalidType(); 8231 return FunctionDecl::Create(SemaRef.Context, DC, D.getBeginLoc(), 8232 D.getIdentifierLoc(), Name, R, TInfo, SC, 8239 SemaRef.Diag(D.getIdentifierLoc(), 8244 SemaRef.CheckConversionDeclarator(D, R, SC); 8245 if (D.isInvalidType()) 8250 SemaRef.Context, cast<CXXRecordDecl>(DC), D.getBeginLoc(), NameInfo, R, 8254 SemaRef.CheckDeductionGuideDeclarator(D, R, SC); 8256 return CXXDeductionGuideDecl::Create(SemaRef.Context, DC, D.getBeginLoc(), 8258 D.getEndLoc()); 8266 SemaRef.Diag(D.getIdentifierLoc(), diag::err_constructor_return_type) 8267 << SourceRange(D.getDeclSpec().getTypeSpecTypeLoc()) 8268 << SourceRange(D.getIdentifierLoc()); 8274 SemaRef.Context, cast<CXXRecordDecl>(DC), D.getBeginLoc(), NameInfo, R, 8280 SemaRef.getLangOpts().CPlusPlus && D.getDeclSpec().isFriendSpecified(); 8287 return FunctionDecl::Create(SemaRef.Context, DC, D.getBeginLoc(), NameInfo,