Home
last modified time | relevance | path

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

/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h381 class RequiredArgs {
388 RequiredArgs(All_t _) : NumRequired(~0U) {} in RequiredArgs() function
389 explicit RequiredArgs(unsigned n) : NumRequired(n) { in RequiredArgs() function
398 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype, in forPrototypePlus()
407 return RequiredArgs(prototype->getNumParams() + additional); in forPrototypePlus()
410 static RequiredArgs forPrototype(const FunctionProtoType *prototype, in forPrototype()
415 static RequiredArgs forPrototype(CanQual<FunctionProtoType> prototype, in forPrototype()
420 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype, in forPrototypePlus()
433 static RequiredArgs getFromOpaqueData(unsigned value) { in getFromOpaqueData()
435 return RequiredArgs(value); in getFromOpaqueData()
[all …]
DCodeGenABITypes.h71 RequiredArgs args);
/external/llvm-project/clang/include/clang/CodeGen/
DCGFunctionInfo.h461 class RequiredArgs {
468 RequiredArgs(All_t _) : NumRequired(~0U) {} in RequiredArgs() function
469 explicit RequiredArgs(unsigned n) : NumRequired(n) { in RequiredArgs() function
478 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype, in forPrototypePlus()
489 return RequiredArgs(prototype->getNumParams() + additional); in forPrototypePlus()
492 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype, in forPrototypePlus()
497 static RequiredArgs forPrototype(const FunctionProtoType *prototype) { in forPrototype()
501 static RequiredArgs forPrototype(CanQual<FunctionProtoType> prototype) { in forPrototype()
512 static RequiredArgs getFromOpaqueData(unsigned value) { in getFromOpaqueData()
514 return RequiredArgs(value); in getFromOpaqueData()
[all …]
DCodeGenABITypes.h89 RequiredArgs args);
/external/llvm-project/clang/lib/CodeGen/
DCodeGenTypes.h55 class RequiredArgs; variable
250 RequiredArgs required,
272 RequiredArgs args);
DCGCall.cpp111 FTNP->getExtInfo(), {}, RequiredArgs(0)); in arrangeFreeFunctionType()
181 RequiredArgs Required = RequiredArgs::forPrototypePlus(FTP, prefix.size()); in arrangeLLVMFunctionInfo()
341 RequiredArgs required = in arrangeCXXStructorDeclaration()
342 (PassParams && MD->isVariadic() ? RequiredArgs(argTypes.size()) in arrangeCXXStructorDeclaration()
343 : RequiredArgs::All); in arrangeCXXStructorDeclaration()
406 RequiredArgs Required = PassProtoArgs in arrangeCXXConstructorCall()
407 ? RequiredArgs::forPrototypePlus( in arrangeCXXConstructorCall()
409 : RequiredArgs::All; in arrangeCXXConstructorCall()
450 /*chainCall=*/false, None, noProto->getExtInfo(), {},RequiredArgs::All); in arrangeFunctionDeclaration()
494 RequiredArgs required = in arrangeObjCMessageSendSignature()
[all …]
DCodeGenABITypes.cpp67 RequiredArgs args) { in arrangeFreeFunctionCall()
DCGExprCXX.cpp29 RequiredArgs ReqArgs;
56 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, Args.size()); in commonEmitCXXMemberOrOperatorCall()
469 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, 1); in EmitCXXMemberPointerCallExpr()
DCGVTables.cpp343 CallArgs, FPT, RequiredArgs::forPrototypePlus(FPT, 1), PrefixArgs); in EmitCallAndReturnForThunk()
DCGObjC.cpp3595 = llvm::FunctionType::get(VoidTy, VoidPtrTy, RequiredArgs::All); in EmitExtendGCLifetime()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h1246 Optional<unsigned> RequiredArgs; variable
1251 static Optional<size_t> readRequiredParams(Optional<unsigned> RequiredArgs, in readRequiredParams() argument
1255 if (RequiredArgs) in readRequiredParams()
1256 return static_cast<size_t>(*RequiredArgs); in readRequiredParams()
1272 Optional<unsigned> RequiredArgs = None,
1274 : QualifiedName(QualifiedName), RequiredArgs(RequiredArgs), in QualifiedName()
1275 RequiredParams(readRequiredParams(RequiredArgs, RequiredParams)), in QualifiedName()
1280 Optional<unsigned> RequiredArgs = None,
1282 : CallDescription(0, QualifiedName, RequiredArgs, RequiredParams) {}
/external/clang/lib/CodeGen/
DCodeGenTypes.h57 class RequiredArgs; variable
310 RequiredArgs required);
330 RequiredArgs args);
DCodeGenABITypes.cpp62 RequiredArgs args) { in arrangeFreeFunctionCall()
DCGCall.cpp99 FTNP->getExtInfo(), {}, RequiredArgs(0)); in arrangeFreeFunctionType()
145 RequiredArgs Required = in arrangeLLVMFunctionInfo()
146 RequiredArgs::forPrototypePlus(FTP, prefix.size(), FD); in arrangeLLVMFunctionInfo()
288 RequiredArgs required = in arrangeCXXStructorDeclaration()
289 (PassParams && MD->isVariadic() ? RequiredArgs(argTypes.size()) in arrangeCXXStructorDeclaration()
290 : RequiredArgs::All); in arrangeCXXStructorDeclaration()
361 RequiredArgs Required = RequiredArgs::forPrototypePlus(FPT, 1 + ExtraArgs, D); in arrangeCXXConstructorCall()
395 /*chainCall=*/false, None, noProto->getExtInfo(), {},RequiredArgs::All); in arrangeFunctionDeclaration()
436 RequiredArgs required = in arrangeObjCMessageSendSignature()
437 (MD->isVariadic() ? RequiredArgs(argTys.size()) : RequiredArgs::All); in arrangeObjCMessageSendSignature()
[all …]
DCGExprCXX.cpp27 static RequiredArgs
57 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, Args.size(), MD); in commonEmitCXXMemberOrOperatorCall()
79 RequiredArgs required = commonEmitCXXMemberOrOperatorCall( in EmitCXXMemberOrOperatorCall()
327 RequiredArgs required = in EmitCXXMemberPointerCallExpr()
328 RequiredArgs::forPrototypePlus(FPT, 1, /*FD=*/nullptr); in EmitCXXMemberPointerCallExpr()
DCGVTables.cpp294 CallArgs, FPT, RequiredArgs::forPrototypePlus(FPT, 1, MD)); in EmitCallAndReturnForThunk()
DCGObjC.cpp3149 = llvm::FunctionType::get(VoidTy, VoidPtrTy, RequiredArgs::All); in EmitExtendGCLifetime()
/external/google-fruit/include/fruit/impl/meta/
Dcomponent.h718 template <typename... RequiredArgs, typename... OtherTypes>
719 struct apply<Vector<Type<fruit::Required<RequiredArgs...>>, OtherTypes...>> {
720 … ConstructError(RequiredTypesInComponentArgumentsErrorTag, Type<fruit::Required<RequiredArgs...>>);
737 template <typename... RequiredArgs, typename... Types>
738 struct apply<Type<fruit::Required<RequiredArgs...>>, Types...> {
739 using type = ConstructError(InjectorWithRequirementsErrorTag, Type<RequiredArgs>...);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h59 unsigned RequiredArgs; variable
70 CallDescription(StringRef FuncName, unsigned RequiredArgs = NoArgRequirement)
71 : II(nullptr), FuncName(FuncName), RequiredArgs(RequiredArgs) {} in II()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp337 (!CD.RequiredArgs || CD.RequiredArgs <= getNumArgs()) && in isCalled()
377 return (!CD.RequiredArgs || CD.RequiredArgs == getNumArgs()) && in isCalled()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp219 return (CD.RequiredArgs == CallDescription::NoArgRequirement || in isCalled()
220 CD.RequiredArgs == getNumArgs()); in isCalled()
/external/rust/crates/clap/
DCHANGELOG.md2534 * **RequiredArgs** fixes bug where required-by-default arguments are not listed in usage ([12aea96…
2584 * **RequiredArgs** required by default args should no longer be required when their exclusions are…