Home
last modified time | relevance | path

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

/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/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/clang/include/clang/AST/
DRecursiveASTVisitor.h1944 if (D->hasDefaultArg() && D->hasUninstantiatedDefaultArg() &&
1948 if (D->hasDefaultArg() && !D->hasUninstantiatedDefaultArg() &&
DDecl.h1476 bool hasDefaultArg() const;