Lines Matching refs:FunctionDecl
420 static bool functionDeclHasDefaultArgument(const FunctionDecl *FD) {
435 bool Sema::MergeCXXFunctionDecl(FunctionDecl *New, FunctionDecl *Old,
447 FunctionDecl *PrevForDefaultArgs = Old;
631 const FunctionDecl *Def;
712 void Sema::CheckCXXDefaultArguments(FunctionDecl *FD) {
765 const FunctionDecl *FD) {
803 bool Sema::CheckConstexprFunctionDecl(const FunctionDecl
863 static bool CheckConstexprDeclStmt(Sema &SemaRef, const FunctionDecl *Dcl,
977 const FunctionDecl *Dcl,
1015 CheckConstexprFunctionStmt(Sema &SemaRef, const FunctionDecl *Dcl, Stmt *S,
1133 bool Sema::CheckConstexprFunctionBody(const FunctionDecl *Dcl, Stmt *Body) {
2552 if (FunctionDecl *FD = E->getDirectCallee()) {
4624 FunctionDecl *FD = cast<FunctionTemplateDecl>(D)->getTemplatedDecl();
5461 MD->getTemplatedKind() == FunctionDecl::TK_NonTemplate) {
5986 FunctionDecl *OperatorDelete = nullptr;
6685 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
6786 FunctionDecl *Method = cast<FunctionDecl>(MethodD);
6929 FunctionDecl *OperatorDelete = nullptr;
7980 if (FunctionDecl *FD = Target->getAsFunction()) {
9117 void Sema::CheckImplicitSpecialMemberDeclaration(Scope *S, FunctionDecl *FD) {
9834 FunctionDecl *MemCpy = R.getAsSingle<FunctionDecl>();
11276 bool Sema::isImplicitlyDeleted(FunctionDecl *FD) {
11298 FunctionDecl *CallOpSpec = CallOpTemplate->findSpecialization(
11324 FunctionDecl *InvokeSpec = InvokeTemplate->findSpecialization(
11658 const FunctionDecl *FnDecl) {
11677 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl,
11725 CheckOperatorNewDeclaration(Sema &SemaRef, const FunctionDecl *FnDecl) {
11756 CheckOperatorDeleteDeclaration(Sema &SemaRef, FunctionDecl *FnDecl) {
11779 bool Sema::CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl) {
11959 bool Sema::CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl) {
12035 FunctionDecl::param_iterator Param = FnDecl->param_begin();
12761 FunctionDecl *FunctionContainingLocalClass = nullptr;
12991 FunctionDecl *FD;
12995 FD = cast<FunctionDecl>(ND);
13002 if (FunctionDecl *OldFD = FD->getPreviousDecl()) {
13024 FunctionDecl *Fn = dyn_cast_or_null<FunctionDecl>(Dcl);
13030 if (const FunctionDecl *Prev = Fn->getPreviousDecl()) {
13102 const FunctionDecl *Primary = MD;
13103 if (const FunctionDecl *Pattern = MD->getTemplateInstantiationPattern())
13366 if (isa<FunctionDecl>(Dcl)) { // The declarator shall not specify a function.
13527 const FunctionDecl *KeyFunctionDef = nullptr;
13652 const FunctionDecl *FNTarget = nullptr;
13685 const FunctionDecl *FNTarget = nullptr;