Home
last modified time | relevance | path

Searched refs:hasDefaultArg (Results 1 – 13 of 13) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp95 if (Parm->hasDefaultArg() && !Parm->hasUninstantiatedDefaultArg() && in handleDeclarator()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp2815 bool ParmVarDecl::hasDefaultArg() const { in hasDefaultArg() function in ParmVarDecl
3371 if (!Param->hasDefaultArg()) in getMinRequiredArguments()
3382 [](ParmVarDecl *P) { return P->hasDefaultArg(); })); in hasOneParamOrDefaultArgs()
H A DASTImporter.cpp4190 } else if (FromParam->hasDefaultArg()) { in ImportDefaultArgOfParmVarDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h2175 if (D->hasDefaultArg() && D->hasUninstantiatedDefaultArg() &&
2179 if (D->hasDefaultArg() && !D->hasUninstantiatedDefaultArg() &&
H A DDecl.h1766 bool hasDefaultArg() const;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp439 return P->hasDefaultArg() && !P->hasInheritedDefaultArg(); in functionDeclHasDefaultArgument()
515 bool OldParamHasDfl = OldParam ? OldParam->hasDefaultArg() : false; in MergeCXXFunctionDecl()
516 bool NewParamHasDfl = NewParam->hasDefaultArg(); in MergeCXXFunctionDecl()
642 assert(NewParam->hasDefaultArg()); in MergeCXXFunctionDecl()
1600 if (Param->hasDefaultArg()) in CheckCXXDefaultArguments()
1611 if (!Param->hasDefaultArg() && !Param->isParameterPack() && in CheckCXXDefaultArguments()
15634 if (FnDecl->getParamDecl(0)->hasDefaultArg()) in CheckOperatorNewDeclaration()
15739 if (Param->hasDefaultArg()) in CheckOverloadedOperatorDeclaration()
16024 if (Param->hasDefaultArg()) { in CheckLiteralOperatorDeclaration()
H A DSemaCodeComplete.cpp3010 if (Param->hasDefaultArg() && !InOptional) { in AddFunctionParameterChunks()
3031 if (Param->hasDefaultArg()) in AddFunctionParameterChunks()
3706 if (Function && Function->getParamDecl(P)->hasDefaultArg() && !InOptional) { in AddOverloadParameterChunks()
3732 if (Param->hasDefaultArg()) in AddOverloadParameterChunks()
H A DSemaExprCXX.cpp8824 if (Param->hasDefaultArg()) in ActOnStartRequiresExpr()
H A DSemaTemplate.cpp2401 if (OldParam->hasDefaultArg()) { in transformFunctionTypeParam()
H A DSemaOverload.cpp6623 if (!P->hasDefaultArg()) in convertArgsForAvailabilityChecks()
H A DSemaExpr.cpp5721 assert(Param->hasDefaultArg() && "can't build nonexistent default arg"); in BuildCXXDefaultArgExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7705 return Node.hasDefaultArg(); in AST_MATCHER()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp4045 assert(PD->hasDefaultArg() && "ctor closure lacks default args"); in getAddrOfCXXCtorClosure()