Home
last modified time | relevance | path

Searched refs:getParamDecl (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/AST/
DDeclCXX.cpp1193 !Context.hasSameUnqualifiedType(getParamDecl(1)->getType(), in isUsualDeallocationFunction()
1219 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator()
1238 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator()
1428 (getNumParams() > 0 && getParamDecl(0)->hasDefaultArg()); in isDefaultConstructor()
1434 getParamDecl(0)->getType()->isLValueReferenceType(); in isCopyConstructor()
1439 getParamDecl(0)->getType()->isRValueReferenceType(); in isMoveConstructor()
1455 (getNumParams() > 1 && !getParamDecl(1)->hasDefaultArg()) || in isCopyOrMoveConstructor()
1460 const ParmVarDecl *Param = getParamDecl(0); in isCopyOrMoveConstructor()
1497 (getNumParams() > 1 && getParamDecl(1)->hasDefaultArg()); in isConvertingConstructor()
1502 (getNumParams() > 1 && !getParamDecl(1)->hasDefaultArg()) || in isSpecializationCopyingObject()
[all …]
DDeclPrinter.cpp396 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
407 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl()
537 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
DDecl.cpp866 FD->getParamDecl(i)->getType().getAsStringInternal(Param, P); in getQualifiedNameAsString()
1711 getParamDecl(NumRequiredArgs - 1)->isParameterPack()) in getMinRequiredArguments()
1717 getParamDecl(NumRequiredArgs-1)->hasDefaultArg()) in getMinRequiredArguments()
1724 if (getParamDecl(ArgIdx - 1)->isParameterPack()) in getMinRequiredArguments()
DExpr.cpp430 FD->getParamDecl(i)->getType().getAsStringInternal(Param, Policy); in ComputeName()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp384 ParmVarDecl *OldParam = Old->getParamDecl(p); in MergeCXXFunctionDecl()
385 ParmVarDecl *NewParam = New->getParamDecl(p); in MergeCXXFunctionDecl()
425 if (!Older->getParamDecl(p)->hasDefaultArg()) in MergeCXXFunctionDecl()
428 OldParam = Older->getParamDecl(p); in MergeCXXFunctionDecl()
562 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments()
575 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments()
597 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments()
1894 ParmVarDecl *Param = Constructor->getParamDecl(0); in BuildImplicitBaseInitializer()
1955 ParmVarDecl *Param = Constructor->getParamDecl(0); in BuildImplicitMemberInitializer()
3579 assert(!CD->getParamDecl(0)->getType()->getPointeeType().isNull() && in ShouldDeleteCopyConstructor()
[all …]
DSemaTemplateDeduction.cpp2593 QualType DeducedA = Specialization->getParamDecl(ParamIdx)->getType(); in FinishTemplateArgumentDeduction()
2921 ParamTypes.push_back(Function->getParamDecl(I)->getType()); in DeduceTemplateArguments()
3574 ParmVarDecl *Last = Function->getParamDecl(NumParams - 1); in isVariadicFunctionTemplate()
3580 if (Function->getParamDecl(NumParams - 1)->isParameterPack()) in isVariadicFunctionTemplate()
4280 ::MarkUsedTemplateParameters(*this, Function->getParamDecl(I)->getType(), in MarkDeducedTemplateParameters()
DSemaOverload.cpp5605 C->Function->getParamDecl(0)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads()
5607 C->Function->getParamDecl(1)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads()
8529 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
8770 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp()
8786 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp()
8794 FnDecl->getParamDecl(1)), in CreateOverloadedBinOp()
8988 FnDecl->getParamDecl(0)), in CreateOverloadedArraySubscriptExpr()
9540 Method->getParamDecl(i)), in BuildCallToObjectOfClassType()
9547 = BuildCXXDefaultArgExpr(LParenLoc, Method, Method->getParamDecl(i)); in BuildCallToObjectOfClassType()
DSemaTemplateInstantiateDecl.cpp2436 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in InstantiateFunctionDefinition()
2440 ParmVarDecl *FunctionParam = Function->getParamDecl(I); in InstantiateFunctionDefinition()
2452 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in InstantiateFunctionDefinition()
DSemaDecl.cpp1852 ParmVarDecl *OldParm = Old->getParamDecl(Idx); in MergeFunctionDecl()
1853 ParmVarDecl *NewParm = New->getParamDecl(Idx); in MergeFunctionDecl()
1940 mergeParamDeclAttributes(New->getParamDecl(i), Old->getParamDecl(i), in MergeCompatibleFunctionDecls()
2873 QualType DeclParamTy = Declaration->getParamDecl(Idx)->getType(); in isNearlyMatchingFunction()
2874 QualType DefParamTy = Definition->getParamDecl(Idx)->getType(); in isNearlyMatchingFunction()
6364 ParmVarDecl *Param = FD->getParamDecl(p); in ActOnStartOfFunctionDef()
DSemaDeclAttr.cpp137 return BD->getParamDecl(Idx)->getType(); in getFunctionOrMethodArgType()
1623 QualType ParamTy = FD->getParamDecl(0)->getType(); in handleCleanupAttr()
1624 if (S.CheckAssignmentConstraints(FD->getParamDecl(0)->getLocation(), in handleCleanupAttr()
DSemaExprCXX.cpp1482 FnDecl->getParamDecl(i)); in FindAllocationOverload()
1627 Func->getParamDecl(0)->getType().getUnqualifiedType()); in DeclareGlobalAllocationFunction()
2121 BeforeToType = Ctor->getParamDecl(0)->getType().getNonReferenceType(); in PerformImplicitConversion()
DSemaCodeComplete.cpp2057 ParmVarDecl *Param = Function->getParamDecl(P); in AddFunctionParameterChunks()
2600 ArgString = FDecl->getParamDecl(I)->getNameAsString(); in CreateSignatureString()
2601 ArgType = FDecl->getParamDecl(I)->getOriginalType(); in CreateSignatureString()
DSemaStmt.cpp1582 = Constructor->getParamDecl(0)->getType() in PerformMoveOrCopyInitialization()
DSemaExpr.cpp3287 Param = FDecl->getParamDecl(i); in GatherArgumentsForCall()
3301 ParmVarDecl *Param = FDecl->getParamDecl(i); in GatherArgumentsForCall()
DSemaInit.cpp3844 ParmVarDecl *Parm = Constructor->getParamDecl(I); in CopyObject()
/external/clang/include/clang/AST/
DDecl.h1721 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function
1725 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
2964 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function
2968 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp390 Args.push_back(FD->getParamDecl(i)); in GenerateCode()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp115 const ParmVarDecl *PD = FD->getParamDecl(0); in getInitialState()
/external/clang/tools/libclang/
DCIndex.cpp3193 OS << Function->getParamDecl(I)->getType().getAsString(Policy); in clang_getCursorDisplayName()