/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | ForwardingReferenceOverloadCheck.cpp | 110 if (!(*Iter)->hasDefaultArg()) in check()
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1857 (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()
|
D | Decl.cpp | 2414 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/ |
D | DefineOutline.cpp | 189 if (PVD->hasDefaultArg()) { in getFunctionSourceCode()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexDecl.cpp | 95 if (Parm->hasDefaultArg() && !Parm->hasUninstantiatedDefaultArg() && in handleDeclarator()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 423 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 …]
|
D | SemaCodeComplete.cpp | 2324 if (Param->hasDefaultArg() && !InOptional) { in AddFunctionParameterChunks() 2902 if (Function && Function->getParamDecl(P)->hasDefaultArg() && !InOptional) { in AddOverloadParameterChunks()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Hover.cpp | 286 if (!PVD->hasDefaultArg() || PVD->hasUnparsedDefaultArg()) in getDefaultArg()
|
/external/clang/include/clang/AST/ |
D | RecursiveASTVisitor.h | 1944 if (D->hasDefaultArg() && D->hasUninstantiatedDefaultArg() && 1948 if (D->hasDefaultArg() && !D->hasUninstantiatedDefaultArg() &&
|
D | Decl.h | 1476 bool hasDefaultArg() const;
|
/external/llvm-project/clang/lib/AST/ |
D | Decl.cpp | 2789 bool ParmVarDecl::hasDefaultArg() const { in hasDefaultArg() function in ParmVarDecl 3343 if (!Param->hasDefaultArg()) in getMinRequiredArguments() 3354 [](ParmVarDecl *P) { return P->hasDefaultArg(); })); in hasOneParamOrDefaultArgs()
|
D | ASTImporter.cpp | 4055 } else if (FromParam->hasDefaultArg()) { in ImportDefaultArgOfParmVarDecl()
|
/external/llvm-project/clang/include/clang/AST/ |
D | RecursiveASTVisitor.h | 2132 if (D->hasDefaultArg() && D->hasUninstantiatedDefaultArg() && 2136 if (D->hasDefaultArg() && !D->hasUninstantiatedDefaultArg() &&
|
D | Decl.h | 1720 bool hasDefaultArg() const;
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 442 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()
|
D | SemaCodeComplete.cpp | 2958 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()
|
D | SemaExprCXX.cpp | 8670 if (Param->hasDefaultArg()) in ActOnStartRequiresExpr()
|
D | SemaTemplate.cpp | 2380 if (OldParam->hasDefaultArg()) { in transformFunctionTypeParam()
|
D | SemaOverload.cpp | 6630 if (!P->hasDefaultArg()) in convertArgsForAvailabilityChecks()
|
D | SemaExpr.cpp | 5649 assert(Param->hasDefaultArg() && "can't build nonexistent default arg"); in BuildCXXDefaultArgExpr()
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 7263 return Node.hasDefaultArg(); in AST_MATCHER()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | MicrosoftCXXABI.cpp | 4029 assert(PD->hasDefaultArg() && "ctor closure lacks default args"); in getAddrOfCXXCtorClosure()
|