/external/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 381 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 …]
|
D | CodeGenABITypes.h | 71 RequiredArgs args);
|
/external/llvm-project/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 461 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 …]
|
D | CodeGenABITypes.h | 89 RequiredArgs args);
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenTypes.h | 55 class RequiredArgs; variable 250 RequiredArgs required, 272 RequiredArgs args);
|
D | CGCall.cpp | 111 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 …]
|
D | CodeGenABITypes.cpp | 67 RequiredArgs args) { in arrangeFreeFunctionCall()
|
D | CGExprCXX.cpp | 29 RequiredArgs ReqArgs; 56 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, Args.size()); in commonEmitCXXMemberOrOperatorCall() 469 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, 1); in EmitCXXMemberPointerCallExpr()
|
D | CGVTables.cpp | 343 CallArgs, FPT, RequiredArgs::forPrototypePlus(FPT, 1), PrefixArgs); in EmitCallAndReturnForThunk()
|
D | CGObjC.cpp | 3595 = llvm::FunctionType::get(VoidTy, VoidPtrTy, RequiredArgs::All); in EmitExtendGCLifetime()
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CallEvent.h | 1246 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/ |
D | CodeGenTypes.h | 57 class RequiredArgs; variable 310 RequiredArgs required); 330 RequiredArgs args);
|
D | CodeGenABITypes.cpp | 62 RequiredArgs args) { in arrangeFreeFunctionCall()
|
D | CGCall.cpp | 99 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 …]
|
D | CGExprCXX.cpp | 27 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()
|
D | CGVTables.cpp | 294 CallArgs, FPT, RequiredArgs::forPrototypePlus(FPT, 1, MD)); in EmitCallAndReturnForThunk()
|
D | CGObjC.cpp | 3149 = llvm::FunctionType::get(VoidTy, VoidPtrTy, RequiredArgs::All); in EmitExtendGCLifetime()
|
/external/google-fruit/include/fruit/impl/meta/ |
D | component.h | 718 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/ |
D | CallEvent.h | 59 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/ |
D | CallEvent.cpp | 337 (!CD.RequiredArgs || CD.RequiredArgs <= getNumArgs()) && in isCalled() 377 return (!CD.RequiredArgs || CD.RequiredArgs == getNumArgs()) && in isCalled()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 219 return (CD.RequiredArgs == CallDescription::NoArgRequirement || in isCalled() 220 CD.RequiredArgs == getNumArgs()); in isCalled()
|
/external/rust/crates/clap/ |
D | CHANGELOG.md | 2534 * **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…
|