/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1193 !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 …]
|
D | DeclPrinter.cpp | 396 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl() 407 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl() 537 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
|
D | Decl.cpp | 866 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()
|
D | Expr.cpp | 430 FD->getParamDecl(i)->getType().getAsStringInternal(Param, Policy); in ComputeName()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 384 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 …]
|
D | SemaTemplateDeduction.cpp | 2593 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()
|
D | SemaOverload.cpp | 5605 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()
|
D | SemaTemplateInstantiateDecl.cpp | 2436 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in InstantiateFunctionDefinition() 2440 ParmVarDecl *FunctionParam = Function->getParamDecl(I); in InstantiateFunctionDefinition() 2452 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in InstantiateFunctionDefinition()
|
D | SemaDecl.cpp | 1852 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()
|
D | SemaDeclAttr.cpp | 137 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()
|
D | SemaExprCXX.cpp | 1482 FnDecl->getParamDecl(i)); in FindAllocationOverload() 1627 Func->getParamDecl(0)->getType().getUnqualifiedType()); in DeclareGlobalAllocationFunction() 2121 BeforeToType = Ctor->getParamDecl(0)->getType().getNonReferenceType(); in PerformImplicitConversion()
|
D | SemaCodeComplete.cpp | 2057 ParmVarDecl *Param = Function->getParamDecl(P); in AddFunctionParameterChunks() 2600 ArgString = FDecl->getParamDecl(I)->getNameAsString(); in CreateSignatureString() 2601 ArgType = FDecl->getParamDecl(I)->getOriginalType(); in CreateSignatureString()
|
D | SemaStmt.cpp | 1582 = Constructor->getParamDecl(0)->getType() in PerformMoveOrCopyInitialization()
|
D | SemaExpr.cpp | 3287 Param = FDecl->getParamDecl(i); in GatherArgumentsForCall() 3301 ParmVarDecl *Param = FDecl->getParamDecl(i); in GatherArgumentsForCall()
|
D | SemaInit.cpp | 3844 ParmVarDecl *Parm = Constructor->getParamDecl(I); in CopyObject()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 1721 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/ |
D | CodeGenFunction.cpp | 390 Args.push_back(FD->getParamDecl(i)); in GenerateCode()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 115 const ParmVarDecl *PD = FD->getParamDecl(0); in getInitialState()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 3193 OS << Function->getParamDecl(I)->getType().getAsString(Policy); in clang_getCursorDisplayName()
|