Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DForwardingReferenceOverloadCheck.cpp117 if (!(*Iter)->hasDefaultArg()) in check()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineOutline.cpp190 if (!PVD->hasDefaultArg()) in getFunctionSourceCode()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexDecl.cpp99 if (Parm->hasDefaultArg() && !Parm->hasUninstantiatedDefaultArg() && in handleDeclarator()
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp2915 bool ParmVarDecl::hasDefaultArg() const { in hasDefaultArg() function in ParmVarDecl
3479 if (!Param->hasDefaultArg()) in getMinRequiredArguments()
3490 [](ParmVarDecl *P) { return P->hasDefaultArg(); })); in hasOneParamOrDefaultArgs()
H A DASTImporter.cpp4240 } else if (FromParam->hasDefaultArg()) { in ImportDefaultArgOfParmVarDecl()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHover.cpp347 if (!PVD->hasDefaultArg() || PVD->hasUnparsedDefaultArg()) in getDefaultArg()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DRecursiveASTVisitor.h2301 if (D->hasDefaultArg() && D->hasUninstantiatedDefaultArg() &&
2305 if (D->hasDefaultArg() && !D->hasUninstantiatedDefaultArg() &&
H A DDecl.h1786 bool hasDefaultArg() const;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp440 return P->hasDefaultArg() && !P->hasInheritedDefaultArg(); in functionDeclHasDefaultArgument()
516 bool OldParamHasDfl = OldParam ? OldParam->hasDefaultArg() : false; in MergeCXXFunctionDecl()
517 bool NewParamHasDfl = NewParam->hasDefaultArg(); in MergeCXXFunctionDecl()
643 assert(NewParam->hasDefaultArg()); in MergeCXXFunctionDecl()
1600 if (Param->hasDefaultArg()) in CheckCXXDefaultArguments()
1611 if (!Param->hasDefaultArg() && !Param->isParameterPack() && in CheckCXXDefaultArguments()
15833 if (FnDecl->getParamDecl(0)->hasDefaultArg()) in CheckOperatorNewDeclaration()
15939 if (Param->hasDefaultArg()) { in CheckOverloadedOperatorDeclaration()
16245 if (Param->hasDefaultArg()) { in CheckLiteralOperatorDeclaration()
H A DSemaCodeComplete.cpp3017 if (Param->hasDefaultArg() && !InOptional) { in AddFunctionParameterChunks()
3038 if (Param->hasDefaultArg()) in AddFunctionParameterChunks()
3741 if (Function && Function->getParamDecl(P)->hasDefaultArg() && !InOptional) { in AddOverloadParameterChunks()
3770 if (Param->hasDefaultArg()) in AddOverloadParameterChunks()
H A DSemaExprCXX.cpp9079 if (Param->hasDefaultArg()) in ActOnStartRequiresExpr()
H A DSemaTemplate.cpp2406 if (OldParam->hasDefaultArg()) { in transformFunctionTypeParam()
H A DSemaOverload.cpp6707 if (!P->hasDefaultArg()) in convertArgsForAvailabilityChecks()
H A DSemaExpr.cpp5914 assert(Param->hasDefaultArg() && "can't build nonexistent default arg"); in BuildCXXDefaultArgExpr()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h8116 return Node.hasDefaultArg(); in AST_MATCHER()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp10196 auto hasDefaultArg = [](const NamedDecl *D) { in diagnoseOdrViolations() local
10207 bool hasFirstArg = hasDefaultArg(FirstDecl); in diagnoseOdrViolations()
10208 bool hasSecondArg = hasDefaultArg(SecondDecl); in diagnoseOdrViolations()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp4138 assert(PD->hasDefaultArg() && "ctor closure lacks default args"); in getAddrOfCXXCtorClosure()