Home
last modified time | relevance | path

Searched refs:getMinRequiredArguments (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/google/
DExplicitConstructorCheck.cpp103 Ctor->getMinRequiredArguments() > 1) in check()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseEqualsDefaultCheck.cpp63 if (Ctor->getMinRequiredArguments() != 1) in isCopyConstructorAndCanBeDefaulted()
/external/clang/lib/Sema/
DSema.cpp1330 if (OverloadDecl->getMinRequiredArguments() == 0) { in tryExprAsCall()
1363 if (Fun->getMinRequiredArguments() == 0) in tryExprAsCall()
DSemaLookup.cpp393 unsigned DMin = DFD->getMinRequiredArguments(); in isPreferredLookupResult()
394 unsigned EMin = EFD->getMinRequiredArguments(); in isPreferredLookupResult()
405 unsigned DMin = DTD->getTemplateParameters()->getMinRequiredArguments(); in isPreferredLookupResult()
406 unsigned EMin = ETD->getTemplateParameters()->getMinRequiredArguments(); in isPreferredLookupResult()
4902 FD->getMinRequiredArguments() <= NumArgs)) in ValidateCandidate()
DSemaDeclCXX.cpp619 New->getMinRequiredArguments() < Old->getMinRequiredArguments()) { in MergeCXXFunctionDecl()
623 ParmVarDecl *NewParam = New->getParamDecl(New->getMinRequiredArguments()); in MergeCXXFunctionDecl()
6348 if (MD->getMinRequiredArguments() < MD->getNumParams()) { in SpecialMemberIsTrivial()
6350 Diag(MD->getParamDecl(MD->getMinRequiredArguments())->getLocation(), in SpecialMemberIsTrivial()
6352 << MD->getParamDecl(MD->getMinRequiredArguments())->getSourceRange(); in SpecialMemberIsTrivial()
7564 if (Params->getMinRequiredArguments() != 1) in isStdInitializerList()
7607 if (Params->getMinRequiredArguments() != 1 || in LookupStdInitializerList()
DSemaTemplateDeduction.cpp3338 if (Args.size() < Function->getMinRequiredArguments() && !PartialOverloading) in DeduceTemplateArguments()
DSemaChecking.cpp4833 if ((*MI)->getMinRequiredArguments() == 0) in hasCStrMethod()
4851 if (Method->getMinRequiredArguments() == 0 && in checkForCStrMembers()
DSemaInit.cpp431 if (CtorDecl->getMinRequiredArguments() == 0 && in PerformEmptyInit()
DSemaExpr.cpp4702 unsigned MinArgs = FDecl ? FDecl->getMinRequiredArguments() : NumParams; in ConvertArgumentsForCall()
5108 return Callee->getMinRequiredArguments() <= NumArgs; in isNumberOfArgsValidForCall()
/external/llvm-project/clang/lib/Sema/
DSemaLookup.cpp399 unsigned DMin = DFD->getMinRequiredArguments(); in isPreferredLookupResult()
400 unsigned EMin = EFD->getMinRequiredArguments(); in isPreferredLookupResult()
411 unsigned DMin = DTD->getTemplateParameters()->getMinRequiredArguments(); in isPreferredLookupResult()
412 unsigned EMin = ETD->getTemplateParameters()->getMinRequiredArguments(); in isPreferredLookupResult()
5228 FD->getMinRequiredArguments() <= NumArgs)) in ValidateCandidate()
DSema.cpp2195 if (OverloadDecl->getMinRequiredArguments() == 0) { in tryExprAsCall()
2231 if (Fun->getMinRequiredArguments() == 0) in tryExprAsCall()
DSemaDeclCXX.cpp640 New->getMinRequiredArguments() < Old->getMinRequiredArguments()) { in MergeCXXFunctionDecl()
644 ParmVarDecl *NewParam = New->getParamDecl(New->getMinRequiredArguments()); in MergeCXXFunctionDecl()
9544 if (MD->getMinRequiredArguments() < MD->getNumParams()) { in SpecialMemberIsTrivial()
9546 Diag(MD->getParamDecl(MD->getMinRequiredArguments())->getLocation(), in SpecialMemberIsTrivial()
9548 << MD->getParamDecl(MD->getMinRequiredArguments())->getSourceRange(); in SpecialMemberIsTrivial()
11237 if (Params->getMinRequiredArguments() != 1) in isStdInitializerList()
11280 if (Params->getMinRequiredArguments() != 1 || in LookupStdInitializerList()
DSemaOverload.cpp6412 unsigned MinRequiredArgs = Function->getMinRequiredArguments(); in AddOverloadCandidate()
6908 unsigned MinRequiredArgs = Method->getMinRequiredArguments(); in AddMethodCandidate()
10618 unsigned MinParams = Fn->getMinRequiredArguments(); in CheckArityMismatch()
10654 unsigned MinParams = Fn->getMinRequiredArguments(); in DiagnoseArityMismatch()
11371 if (NumArgs < C->Function->getMinRequiredArguments()) in EffectiveFailureKind()
DSemaInit.cpp540 if (CtorDecl->getMinRequiredArguments() == 0 && in PerformEmptyInit()
9987 if (GD->getMinRequiredArguments() > 1 || in DeduceTemplateSpecializationFromInitializer()
10037 if (FD && FD->getMinRequiredArguments() == 0) { in DeduceTemplateSpecializationFromInitializer()
DSemaCodeComplete.cpp1194 Candidate.getMinRequiredArguments() != in compareOverloads()
1195 Incumbent.getMinRequiredArguments()) in compareOverloads()
DSemaTemplateDeduction.cpp4100 if (Args.size() < Function->getMinRequiredArguments() && !PartialOverloading) in DeduceTemplateArguments()
/external/clang/lib/AST/
DDeclTemplate.cpp66 unsigned TemplateParameterList::getMinRequiredArguments() const { in getMinRequiredArguments() function in TemplateParameterList
DDecl.cpp2785 unsigned FunctionDecl::getMinRequiredArguments() const { in getMinRequiredArguments() function in FunctionDecl
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp2639 return getMinRequiredArguments() == 0; in isDefaultConstructor()
2708 : getMinRequiredArguments() <= 1; in isConvertingConstructor()
DDeclTemplate.cpp101 unsigned TemplateParameterList::getMinRequiredArguments() const { in getMinRequiredArguments() function in TemplateParameterList
DDecl.cpp3332 unsigned FunctionDecl::getMinRequiredArguments() const { in getMinRequiredArguments() function in FunctionDecl
/external/clang/include/clang/AST/
DDeclTemplate.h116 unsigned getMinRequiredArguments() const;
DDecl.h2032 unsigned getMinRequiredArguments() const;
/external/llvm-project/clang/include/clang/AST/
DDeclTemplate.h152 unsigned getMinRequiredArguments() const;
DDecl.h2470 unsigned getMinRequiredArguments() const;

12