reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
8149 DeclarationNameInfo NameInfo = SemaRef.GetNameForDeclarator(D); 8155 if (!SemaRef.getLangOpts().CPlusPlus) { 8166 NewFD = FunctionDecl::Create(SemaRef.Context, DC, D.getBeginLoc(), NameInfo, 8179 SemaRef.Diag(D.getDeclSpec().getConstexprSpecLoc(), 8190 SemaRef.RequireNonAbstractType( 8192 diag::err_abstract_type_in_decl, SemaRef.AbstractReturnType)) 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, 8219 if (SemaRef.getLangOpts().CPlusPlus11) 8220 SemaRef.AdjustDestructorExceptionSpec(NewDD); 8226 SemaRef.Diag(D.getIdentifierLoc(), diag::err_destructor_not_member); 8231 return FunctionDecl::Create(SemaRef.Context, DC, D.getBeginLoc(), 8239 SemaRef.Diag(D.getIdentifierLoc(), 8244 SemaRef.CheckConversionDeclarator(D, R, SC); 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(), 8266 SemaRef.Diag(D.getIdentifierLoc(), diag::err_constructor_return_type) 8274 SemaRef.Context, cast<CXXRecordDecl>(DC), D.getBeginLoc(), NameInfo, R, 8280 SemaRef.getLangOpts().CPlusPlus && D.getDeclSpec().isFriendSpecified(); 8281 if (!isFriend && SemaRef.CurContext->isRecord()) 8287 return FunctionDecl::Create(SemaRef.Context, DC, D.getBeginLoc(), NameInfo,