/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 177 const ParmVarDecl *Predicate = D->getParamDecl(0); in create_dispatch_once() 187 const ParmVarDecl *Block = D->getParamDecl(1); in create_dispatch_once() 253 const ParmVarDecl *PV = D->getParamDecl(1); in create_dispatch_sync() 295 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap() 298 const ParmVarDecl *NewValue = D->getParamDecl(1); in create_OSAtomicCompareAndSwap() 303 const ParmVarDecl *TheValue = D->getParamDecl(2); in create_OSAtomicCompareAndSwap()
|
D | ThreadSafetyCommon.cpp | 283 VD = FD->getParamDecl(I); in translateDeclRefExpr()
|
D | Consumed.cpp | 620 const ParmVarDecl *Param = FunD->getParamDecl(Index - Offset); in handleCall()
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 551 Method->getParamDecl(0)->getType()->getAs<ReferenceType>(); in addedMember() 1503 !Context.hasSameUnqualifiedType(getParamDecl(1)->getType(), in isUsualDeallocationFunction() 1531 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator() 1551 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator() 1776 (getNumParams() > 0 && getParamDecl(0)->hasDefaultArg()); in isDefaultConstructor() 1782 getParamDecl(0)->getType()->isLValueReferenceType(); in isCopyConstructor() 1787 getParamDecl(0)->getType()->isRValueReferenceType(); in isMoveConstructor() 1803 (getNumParams() > 1 && !getParamDecl(1)->hasDefaultArg()) || in isCopyOrMoveConstructor() 1808 const ParmVarDecl *Param = getParamDecl(0); in isCopyOrMoveConstructor() 1846 (getParamDecl(1)->hasDefaultArg() || in isConvertingConstructor() [all …]
|
D | DeclPrinter.cpp | 486 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl() 497 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl() 640 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
|
D | ExprCXX.cpp | 739 cast<FunctionDecl>(getCalleeDecl())->getParamDecl(0)->getType(); in getLiteralOperatorKind()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | IssueHash.cpp | 45 Signature.append(Target->getParamDecl(i)->getType().getAsString()); in GetSignature()
|
D | ExprEngineCXX.cpp | 441 QualType T = FD->getParamDecl(1)->getType(); in VisitCXXNewExpr()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 422 const ParmVarDecl *PVD = FD->getParamDecl(NumParams-1); in functionDeclHasDefaultArgument() 500 ParmVarDecl *OldParam = PrevForDefaultArgs->getParamDecl(p); in MergeCXXFunctionDecl() 501 ParmVarDecl *NewParam = New->getParamDecl(p); in MergeCXXFunctionDecl() 544 OldParam = Older->getParamDecl(p); in MergeCXXFunctionDecl() 623 ParmVarDecl *NewParam = New->getParamDecl(New->getMinRequiredArguments()); in MergeCXXFunctionDecl() 718 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments() 731 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments() 753 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments() 771 const ParmVarDecl *PD = FD->getParamDecl(ArgIndex); in CheckConstexprParameterTypes() 3367 ParmVarDecl *PD = Constructor->getParamDecl(I); in BuildImplicitBaseInitializer() [all …]
|
D | SemaLambda.cpp | 478 ParmVarDecl *Param = CallOperator->getParamDecl(p); in addLambdaParameters() 1234 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion() 1665 ParmVarDecl *From = CallOperator->getParamDecl(I); in BuildBlockForLambdaConversion()
|
D | SemaOverload.cpp | 5938 Function->getParamDecl(i)), in CheckEnableIf() 5956 ParmVarDecl *P = Function->getParamDecl(i); in CheckEnableIf() 5959 Function->getParamDecl(i)), in CheckEnableIf() 7554 C->Function->getParamDecl(0)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads() 7556 C->Function->getParamDecl(1)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads() 9225 if (modeCount == 1 && Fn->getParamDecl(0)->getDeclName()) in DiagnoseArityMismatch() 9228 << mode << Fn->getParamDecl(0) << NumFormalArgs; in DiagnoseArityMismatch() 9505 Meth->getParamDecl(0)->getType()->getAs<ReferenceType>()) { in DiagnoseBadTarget() 11340 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp() 11543 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp() [all …]
|
D | SemaTemplateDeduction.cpp | 2956 QualType DeducedA = Specialization->getParamDecl(ParamIdx)->getType(); in FinishTemplateArgumentDeduction() 3382 ParamTypes.push_back(Function->getParamDecl(I)->getType()); in DeduceTemplateArguments() 4340 ParmVarDecl *Last = Function->getParamDecl(NumParams - 1); in isVariadicFunctionTemplate() 4346 if (Function->getParamDecl(NumParams - 1)->isParameterPack()) in isVariadicFunctionTemplate() 5049 ::MarkUsedTemplateParameters(Ctx, Function->getParamDecl(I)->getType(), in MarkDeducedTemplateParameters()
|
D | SemaDeclAttr.cpp | 93 return BD->getParamDecl(Idx)->getType(); in getFunctionOrMethodParamType() 100 return FD->getParamDecl(Idx)->getSourceRange(); in getFunctionOrMethodParamRange() 104 return BD->getParamDecl(Idx)->getSourceRange(); in getFunctionOrMethodParamRange() 556 ArgTy = FD->getParamDecl(ParamIdxFromZero)->getType(); in checkAttrArgsAreCapabilityObjs() 2664 QualType ParamTy = FD->getParamDecl(0)->getType(); in handleCleanupAttr() 2665 if (S.CheckAssignmentConstraints(FD->getParamDecl(0)->getLocation(), in handleCleanupAttr()
|
D | SemaExprCXX.cpp | 825 BuildCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I)).get(); in CheckCXXThrowOperand() 1717 S.Context.hasSameUnqualifiedType(FD->getParamDecl(1)->getType(), in isNonPlacementDeallocationFunction() 2158 Context.getCanonicalType(Func->getParamDecl(0) in DeclareGlobalAllocationFunction() 2162 ? Context.getCanonicalType(Func->getParamDecl(1) in DeclareGlobalAllocationFunction() 3011 BeforeToType = Ctor->getParamDecl(0)->getType().getNonReferenceType(); in PerformImplicitConversion()
|
D | SemaDecl.cpp | 1163 ParmVarDecl *Param = FD->getParamDecl(P); in ActOnReenterFunctionContext() 2459 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes() 3108 ParmVarDecl *OldParm = Old->getParamDecl(Idx); in MergeFunctionDecl() 3109 ParmVarDecl *NewParm = New->getParamDecl(Idx); in MergeFunctionDecl() 3206 ParmVarDecl *NewParam = New->getParamDecl(i); in MergeCompatibleFunctionDecls() 3207 ParmVarDecl *OldParam = Old->getParamDecl(i); in MergeCompatibleFunctionDecls() 4561 QualType DeclParamTy = Declaration->getParamDecl(Idx)->getType(); in hasSimilarParameters() 4562 QualType DefParamTy = Definition->getParamDecl(Idx)->getType(); in hasSimilarParameters() 7003 ParmVarDecl *FDParam = FD->getParamDecl(Idx-1); in DiagnoseInvalidRedeclaration() 7009 << NewFD->getParamDecl(Idx - 1)->getType(); in DiagnoseInvalidRedeclaration() [all …]
|
D | SemaTemplateInstantiate.cpp | 2731 if (FD->getParamDecl(i) == PV) in getCanonicalParmVarDecl() 2732 return FD->getCanonicalDecl()->getParamDecl(i); in getCanonicalParmVarDecl()
|
D | SemaTemplateInstantiateDecl.cpp | 3139 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope() 3143 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope() 3174 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope()
|
D | SemaCodeComplete.cpp | 2310 const ParmVarDecl *Param = Function->getParamDecl(P); in AddFunctionParameterChunks() 2890 if (Function && Function->getParamDecl(P)->hasDefaultArg() && !InOptional) { in AddOverloadParameterChunks() 2914 Placeholder = FormatFunctionParameter(Policy, Function->getParamDecl(P)); in AddOverloadParameterChunks() 2968 FDecl->getParamDecl(CurrentArg))) in CreateSignatureString()
|
D | SemaLookup.cpp | 3056 FD->getParamDecl(0)->getType()->getAs<PointerType>()) in LookupLiteralOperator() 3061 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType(); in LookupLiteralOperator()
|
/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 442 ParmVarDecl *PD = FD->getParamDecl(i); in isPassedToCParamWithKnownOwnership()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 1980 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function 1984 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function 3552 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function 3556 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CallAndMessageChecker.cpp | 431 ParamDecl = FD->getParamDecl(i); in checkPreCall()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 379 ParmVarDecl *OldParam = Old->getParamDecl(I); in ParseLexedMethodDeclaration()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 116 if (FD->getParamDecl(I)->hasAttr<PassObjectSizeAttr>()) in appendParameterTypes() 2811 auto PVD = ParmNum < FD->getNumParams() ? FD->getParamDecl(ParmNum) : nullptr; in EmitNonNullArgCheck() 2839 auto *PS = CalleeDecl->getParamDecl(I)->getAttr<PassObjectSizeAttr>(); in EmitCallArgs()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2871 *Node.getParamDecl(N), Finder, Builder)); in AST_MATCHER_P2()
|