Searched refs:NewFD (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 5416 Sema &SemaRef, LookupResult &Previous, FunctionDecl *NewFD, in DiagnoseInvalidRedeclaration() argument 5419 DeclarationName Name = NewFD->getDeclName(); in DiagnoseInvalidRedeclaration() 5420 DeclContext *NewDC = NewFD->getDeclContext(); in DiagnoseInvalidRedeclaration() 5421 LookupResult Prev(SemaRef, Name, NewFD->getLocation(), in DiagnoseInvalidRedeclaration() 5431 NewFD->setInvalidDecl(); in DiagnoseInvalidRedeclaration() 5435 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD); in DiagnoseInvalidRedeclaration() 5436 DifferentNameValidatorCCC Validator(SemaRef.Context, NewFD, in DiagnoseInvalidRedeclaration() 5443 hasSimilarParameters(SemaRef.Context, FD, NewFD, MismatchedParams)) { in DiagnoseInvalidRedeclaration() 5468 hasSimilarParameters(SemaRef.Context, FD, NewFD, MismatchedParams)) { in DiagnoseInvalidRedeclaration() 5479 NewFD->getTypeSourceInfo(), Previous, ExtraArgs.TemplateParamLists, in DiagnoseInvalidRedeclaration() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 2158 CXXMethodDecl *NewFD = cast<CXXMethodDecl>(VisitCXXMethodDecl(OldFD, in VisitClassScopeFunctionSpecializationDecl() local 2161 LookupResult Previous(SemaRef, NewFD->getNameInfo(), Sema::LookupOrdinaryName, in VisitClassScopeFunctionSpecializationDecl() 2172 if (SemaRef.CheckFunctionTemplateSpecialization(NewFD, TemplateArgsPtr, in VisitClassScopeFunctionSpecializationDecl() 2174 NewFD->setInvalidDecl(); in VisitClassScopeFunctionSpecializationDecl() 2175 return NewFD; in VisitClassScopeFunctionSpecializationDecl() 2183 return NewFD; in VisitClassScopeFunctionSpecializationDecl()
|
D | SemaLookup.cpp | 2621 FunctionDecl *OldFD, *NewFD; in insert() local 2624 NewFD = cast<FunctionTemplateDecl>(New)->getTemplatedDecl(); in insert() 2627 NewFD = cast<FunctionDecl>(New); in insert() 2630 FunctionDecl *Cursor = NewFD; in insert()
|
D | SemaDeclAttr.cpp | 5079 FunctionDecl *NewFD; in DeclClonePragmaWeak() local 5084 NewFD = FunctionDecl::Create(FD->getASTContext(), FD->getDeclContext(), in DeclClonePragmaWeak() 5091 NewD = NewFD; in DeclClonePragmaWeak() 5094 NewFD->setQualifierInfo(FD->getQualifierLoc()); in DeclClonePragmaWeak() 5103 ParmVarDecl *Param = BuildParmVarDeclForTypedef(NewFD, Loc, *AI); in DeclClonePragmaWeak() 5107 NewFD->setParams(Params); in DeclClonePragmaWeak()
|
D | SemaDeclCXX.cpp | 717 bool Sema::CheckConstexprFunctionDecl(const FunctionDecl *NewFD) { in CheckConstexprFunctionDecl() argument 718 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDecl() 726 Diag(NewFD->getLocation(), diag::err_constexpr_virtual_base) in CheckConstexprFunctionDecl() 727 << isa<CXXConstructorDecl>(NewFD) in CheckConstexprFunctionDecl() 737 if (!isa<CXXConstructorDecl>(NewFD)) { in CheckConstexprFunctionDecl() 742 const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDecl() 744 Diag(NewFD->getLocation(), diag::err_constexpr_virtual); in CheckConstexprFunctionDecl() 758 QualType RT = NewFD->getResultType(); in CheckConstexprFunctionDecl() 760 RequireLiteralType(NewFD->getLocation(), RT, in CheckConstexprFunctionDecl() 766 if (!CheckConstexprParameterTypes(*this, NewFD)) in CheckConstexprFunctionDecl()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1393 FunctionDecl *NewFD, LookupResult &Previous,
|