Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardingReferenceOverloadCheck.cpp110 if (!(*Iter)->hasDefaultArg()) in check()
/external/clang/lib/AST/
DDeclCXX.cpp1857 (getNumParams() > 0 && getParamDecl(0)->hasDefaultArg()); in isDefaultConstructor()
1884 (getNumParams() > 1 && !getParamDecl(1)->hasDefaultArg()) || in isCopyOrMoveConstructor()
1927 (getParamDecl(1)->hasDefaultArg() || in isConvertingConstructor()
1933 (getNumParams() > 1 && !getParamDecl(1)->hasDefaultArg()) || in isSpecializationCopyingObject()
DDecl.cpp2414 bool ParmVarDecl::hasDefaultArg() const { in hasDefaultArg() function in ParmVarDecl
2791 if (!Param->isParameterPack() && !Param->hasDefaultArg()) in getMinRequiredArguments()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDefineOutline.cpp189 if (PVD->hasDefaultArg()) { in getFunctionSourceCode()
/external/llvm-project/clang/lib/Index/
DIndexDecl.cpp95 if (Parm->hasDefaultArg() && !Parm->hasUninstantiatedDefaultArg() && in handleDeclarator()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp423 if (!PVD->hasDefaultArg()) in functionDeclHasDefaultArgument()
503 bool OldParamHasDfl = OldParam ? OldParam->hasDefaultArg() : false; in MergeCXXFunctionDecl()
504 bool NewParamHasDfl = NewParam->hasDefaultArg(); in MergeCXXFunctionDecl()
624 assert(NewParam->hasDefaultArg()); in MergeCXXFunctionDecl()
719 if (Param->hasDefaultArg()) in CheckCXXDefaultArguments()
732 if (!Param->hasDefaultArg() && !Param->isParameterPack()) { in CheckCXXDefaultArguments()
754 if (Param->hasDefaultArg()) { in CheckCXXDefaultArguments()
6894 Constructor->getParamDecl(1)->hasDefaultArg())) && in CheckConstructor()
7638 (Ctor->getNumParams() > 1 && !Ctor->getParamDecl(1)->hasDefaultArg())) in isInitListConstructor()
11747 if (FnDecl->getParamDecl(0)->hasDefaultArg()) in CheckOperatorNewDeclaration()
[all …]
DSemaCodeComplete.cpp2324 if (Param->hasDefaultArg() && !InOptional) { in AddFunctionParameterChunks()
2902 if (Function && Function->getParamDecl(P)->hasDefaultArg() && !InOptional) { in AddOverloadParameterChunks()
/external/llvm-project/clang-tools-extra/clangd/
DHover.cpp286 if (!PVD->hasDefaultArg() || PVD->hasUnparsedDefaultArg()) in getDefaultArg()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h1944 if (D->hasDefaultArg() && D->hasUninstantiatedDefaultArg() &&
1948 if (D->hasDefaultArg() && !D->hasUninstantiatedDefaultArg() &&
DDecl.h1476 bool hasDefaultArg() const;
/external/llvm-project/clang/lib/AST/
DDecl.cpp2789 bool ParmVarDecl::hasDefaultArg() const { in hasDefaultArg() function in ParmVarDecl
3343 if (!Param->hasDefaultArg()) in getMinRequiredArguments()
3354 [](ParmVarDecl *P) { return P->hasDefaultArg(); })); in hasOneParamOrDefaultArgs()
DASTImporter.cpp4055 } else if (FromParam->hasDefaultArg()) { in ImportDefaultArgOfParmVarDecl()
/external/llvm-project/clang/include/clang/AST/
DRecursiveASTVisitor.h2132 if (D->hasDefaultArg() && D->hasUninstantiatedDefaultArg() &&
2136 if (D->hasDefaultArg() && !D->hasUninstantiatedDefaultArg() &&
DDecl.h1720 bool hasDefaultArg() const;
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp442 return P->hasDefaultArg() && !P->hasInheritedDefaultArg(); in functionDeclHasDefaultArgument()
518 bool OldParamHasDfl = OldParam ? OldParam->hasDefaultArg() : false; in MergeCXXFunctionDecl()
519 bool NewParamHasDfl = NewParam->hasDefaultArg(); in MergeCXXFunctionDecl()
645 assert(NewParam->hasDefaultArg()); in MergeCXXFunctionDecl()
1585 if (Param->hasDefaultArg()) in CheckCXXDefaultArguments()
1596 if (!Param->hasDefaultArg() && !Param->isParameterPack() && in CheckCXXDefaultArguments()
15355 if (FnDecl->getParamDecl(0)->hasDefaultArg()) in CheckOperatorNewDeclaration()
15460 if (Param->hasDefaultArg()) in CheckOverloadedOperatorDeclaration()
15745 if (Param->hasDefaultArg()) { in CheckLiteralOperatorDeclaration()
DSemaCodeComplete.cpp2958 if (Param->hasDefaultArg() && !InOptional) { in AddFunctionParameterChunks()
2979 if (Param->hasDefaultArg()) in AddFunctionParameterChunks()
3652 if (Function && Function->getParamDecl(P)->hasDefaultArg() && !InOptional) { in AddOverloadParameterChunks()
3678 if (Param->hasDefaultArg()) in AddOverloadParameterChunks()
DSemaExprCXX.cpp8670 if (Param->hasDefaultArg()) in ActOnStartRequiresExpr()
DSemaTemplate.cpp2380 if (OldParam->hasDefaultArg()) { in transformFunctionTypeParam()
DSemaOverload.cpp6630 if (!P->hasDefaultArg()) in convertArgsForAvailabilityChecks()
DSemaExpr.cpp5649 assert(Param->hasDefaultArg() && "can't build nonexistent default arg"); in BuildCXXDefaultArgExpr()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h7263 return Node.hasDefaultArg(); in AST_MATCHER()
/external/llvm-project/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp4029 assert(PD->hasDefaultArg() && "ctor closure lacks default args"); in getAddrOfCXXCtorClosure()