Home
last modified time | relevance | path

Searched refs:isVariadic (Results 1 – 25 of 87) sorted by relevance

1234

/external/clang/lib/AST/
DItaniumCXXABI.cpp66 CallingConv getDefaultMethodCallConv(bool isVariadic) const override { in getDefaultMethodCallConv()
68 if (!isVariadic && T.isWindowsGNUEnvironment() && in getDefaultMethodCallConv()
DMicrosoftCXXABI.cpp51 CallingConv getDefaultMethodCallConv(bool isVariadic) const override { in getDefaultMethodCallConv()
52 if (!isVariadic && in getDefaultMethodCallConv()
DCXXABI.h36 virtual CallingConv getDefaultMethodCallConv(bool isVariadic) const = 0;
DASTDiagnostic.cpp1091 bool isVariadic = DefaultTTPD->isParameterPack(); in GetType() local
1095 if (isVariadic) in GetType()
1109 bool isVariadic = DefaultNTTPD->isParameterPack(); in GetExpr() local
1113 else if (!isVariadic) in GetExpr()
1177 bool isVariadic = DefaultTTPD->isParameterPack(); in GetTemplateDecl() local
1186 if (!isVariadic) in GetTemplateDecl()
DMangle.cpp161 assert(!Proto->isVariadic()); in mangleName()
DCommentSema.cpp820 return FD->isVariadic(); in isFunctionOrMethodVariadic()
823 return FTD->getTemplatedDecl()->isVariadic(); in isFunctionOrMethodVariadic()
826 return MD->isVariadic(); in isFunctionOrMethodVariadic()
DDecl.cpp1396 if (FT->isVariadic()) { in printQualifiedName()
2268 bool FunctionDecl::isVariadic() const { in isVariadic() function in FunctionDecl
2270 return FT->isVariadic(); in isVariadic()
2386 if (proto->getNumParams() != 2 || proto->isVariadic()) in isReservedGlobalPlacementOperator()
2415 if (FPT->getNumParams() == 0 || FPT->getNumParams() > 2 || FPT->isVariadic()) in isReplaceableGlobalAllocationFunction()
2456 if (getNumParams() != 2 || isVariadic() || in getCorrespondingUnsizedGlobalDeallocationFunction()
2467 if (FD->getNumParams() == 1 && !FD->isVariadic()) in getCorrespondingUnsizedGlobalDeallocationFunction()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h132 virtual bool isVariadic() const = 0;
213 bool isVariadic() const { return false; }
365 bool isVariadic() const { return true; }
540 bool isVariadic() const {
541 bool Overload0Variadic = Overloads[0]->isVariadic();
544 assert(Overload0Variadic == O->isVariadic());
615 bool isVariadic() const { return true; }
DRegistry.cpp389 (CtxI->first->isVariadic() || in getCompletions()
412 unsigned NumArgs = I->second->isVariadic() ? 1 : I->second->getNumArgs(); in getCompletions()
461 if (I->second->isVariadic()) in getCompletions()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp517 bool isVariadic = MI->isVariadic(); in ReadFunctionLikeMacroArgs() local
587 if (!isVariadic) break; in ReadFunctionLikeMacroArgs()
624 if (!isVariadic && NumFixedArgsLeft == 0 && TooManyArgsLoc.isInvalid()) { in ReadFunctionLikeMacroArgs()
656 if (!isVariadic && NumActuals > MinArgsExpected && in ReadFunctionLikeMacroArgs()
717 isVarargsElided = MI->isVariadic(); in ReadFunctionLikeMacroArgs()
718 } else if (MI->isVariadic() && in ReadFunctionLikeMacroArgs()
760 } else if (NumActuals > MinArgsExpected && !MI->isVariadic() && in ReadFunctionLikeMacroArgs()
DTokenLexer.cpp128 if (!Macro->isVariadic() || MacroArgNo != Macro->getNumArgs()-1) in MaybeRemoveCommaBeforeVaArgs()
324 Macro->isVariadic()) { in ExpandFunctionArguments()
/external/clang/include/clang/Sema/
DSemaInternal.h30 return FTI.NumParams == 1 && !FTI.isVariadic && in FTIHasSingleVoidParameter()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h290 if (!prototype->isVariadic()) return All; in forPrototypePlus()
394 bool isVariadic() const { return Required.allowsOptionalArgs(); } in isVariadic() function
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp272 bool CallEvent::isVariadic(const Decl *D) { in isVariadic() function in CallEvent
276 return FD->isVariadic(); in isVariadic()
278 return MD->isVariadic(); in isVariadic()
280 return BD->isVariadic(); in isVariadic()
/external/clang/lib/CodeGen/
DCodeGenTypes.h181 bool isVariadic);
DTargetInfo.cpp2471 bool isVariadic = FI.isVariadic(); in computeInfo() local
2473 if (isVariadic) in computeInfo()
2481 if (isVariadic) in computeInfo()
3276 unsigned NumRequiredArgs = (FI.isVariadic() ? in computeInfo()
3883 ABIArgInfo classifyReturnType(QualType RetTy, bool isVariadic) const;
3884 ABIArgInfo classifyArgumentType(QualType RetTy, bool isVariadic,
3989 FI.getReturnInfo() = classifyReturnType(FI.getReturnType(), FI.isVariadic()); in computeInfo()
3997 I.info = classifyArgumentType(I.type, FI.isVariadic(), IsCPRC); in computeInfo()
4199 ABIArgInfo ARMABIInfo::classifyArgumentType(QualType Ty, bool isVariadic, in classifyArgumentType() argument
4222 if (getABIKind() == ARMABIInfo::AAPCS || isVariadic){ in classifyArgumentType()
[all …]
DCGCall.cpp240 (D->isVariadic() ? RequiredArgs(argTypes.size()) : RequiredArgs::All); in arrangeCXXConstructorDeclaration()
285 assert(FTP->isVariadic() == 0 && "dtor with formal parameters"); in arrangeCXXDestructor()
351 (MD->isVariadic() ? RequiredArgs(argTys.size()) : RequiredArgs::All); in arrangeObjCMessageSendSignature()
387 if (proto->isVariadic()) in arrangeFreeFunctionLikeCall()
454 const FunctionType::ExtInfo &info, bool isVariadic) { in arrangeFreeFunctionDeclaration() argument
462 (isVariadic ? RequiredArgs(args.size()) : RequiredArgs::All); in arrangeFreeFunctionDeclaration()
989 if (FI.isVariadic()) { in GetFunctionType()
1047 return llvm::FunctionType::get(resultType, argTypes, FI.isVariadic()); in GetFunctionType()
2862 if (CallInfo.isVariadic()) { in EmitCall()
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeVendor.cpp337 const bool isVariadic = false; in BuildMethod() local
380 isVariadic, in BuildMethod()
/external/llvm/include/llvm/MC/
DMCInstrDesc.h209 bool isVariadic() const { in isVariadic() function
/external/llvm/utils/TableGen/
DCodeGenInstruction.h142 bool isVariadic; variable
DPseudoLoweringEmitter.cpp254 if (Dest.Operands.isVariadic) { in emitLoweringEmitter()
DCodeGenInstruction.cpp31 isVariadic = false; in CGIOperandList()
98 isVariadic = true; in CGIOperandList()
/external/clang/lib/Index/
DUSRGeneration.cpp227 if (D->isVariadic()) in VisitFunctionDecl()
639 if (FT->isVariadic()) in VisitType()
/external/clang/include/clang/Lex/
DMacroInfo.h219 bool isVariadic() const { return IsC99Varargs | IsGNUVarargs; } in isVariadic() function
/external/clang/lib/Sema/
DSemaDeclObjC.cpp1572 if (ImpMethodDecl->isVariadic() != MethodDecl->isVariadic()) { in WarnConflictingTypedMethods()
1595 if (Method->isVariadic() != Overridden->isVariadic()) { in CheckConflictingOverridingMethod()
1632 match = (ImpMethodDecl->isVariadic() == MethodDecl->isVariadic()); in WarnExactTypedMethods()
3055 bool isVariadic, bool MethodDefinition) { in ActOnMethodDeclaration() argument
3082 MethodType == tok::minus, isVariadic, in ActOnMethodDeclaration()

1234