Home
last modified time | relevance | path

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

12

/external/clang/lib/Analysis/
DBodyFarm.cpp180 const ParmVarDecl *Predicate = D->getParamDecl(0); in create_dispatch_once()
190 const ParmVarDecl *Block = D->getParamDecl(1); in create_dispatch_once()
256 const ParmVarDecl *PV = D->getParamDecl(1); in create_dispatch_sync()
298 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap()
301 const ParmVarDecl *NewValue = D->getParamDecl(1); in create_OSAtomicCompareAndSwap()
306 const ParmVarDecl *TheValue = D->getParamDecl(2); in create_OSAtomicCompareAndSwap()
DThreadSafetyCommon.cpp290 VD = FD->getParamDecl(I); in translateDeclRefExpr()
DConsumed.cpp620 const ParmVarDecl *Param = FunD->getParamDecl(Index - Offset); in handleCall()
/external/clang/lib/AST/
DDeclCXX.cpp557 Method->getParamDecl(0)->getType()->getAs<ReferenceType>(); in addedMember()
1487 !Context.hasSameUnqualifiedType(getParamDecl(1)->getType(), in isUsualDeallocationFunction()
1515 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator()
1535 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator()
1760 (getNumParams() > 0 && getParamDecl(0)->hasDefaultArg()); in isDefaultConstructor()
1766 getParamDecl(0)->getType()->isLValueReferenceType(); in isCopyConstructor()
1771 getParamDecl(0)->getType()->isRValueReferenceType(); in isMoveConstructor()
1787 (getNumParams() > 1 && !getParamDecl(1)->hasDefaultArg()) || in isCopyOrMoveConstructor()
1792 const ParmVarDecl *Param = getParamDecl(0); in isCopyOrMoveConstructor()
1830 (getParamDecl(1)->hasDefaultArg() || in isConvertingConstructor()
[all …]
DDeclPrinter.cpp444 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
455 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl()
598 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
DExprCXX.cpp739 cast<FunctionDecl>(getCalleeDecl())->getParamDecl(0)->getType(); in getLiteralOperatorKind()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp424 const ParmVarDecl *PVD = FD->getParamDecl(NumParams-1); in functionDeclHasDefaultArgument()
460 ParmVarDecl *OldParam = Old->getParamDecl(p); in MergeCXXFunctionDecl()
461 ParmVarDecl *NewParam = New->getParamDecl(p); in MergeCXXFunctionDecl()
523 OldParam = Older->getParamDecl(p); in MergeCXXFunctionDecl()
601 ParmVarDecl *NewParam = New->getParamDecl(New->getMinRequiredArguments()); in MergeCXXFunctionDecl()
696 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments()
709 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments()
731 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments()
749 const ParmVarDecl *PD = FD->getParamDecl(ArgIndex); in CheckConstexprParameterTypes()
3384 ParmVarDecl *PD = Constructor->getParamDecl(I); in BuildImplicitBaseInitializer()
[all …]
DSemaLambda.cpp478 ParmVarDecl *Param = CallOperator->getParamDecl(p); in addLambdaParameters()
1251 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion()
1607 ParmVarDecl *From = CallOperator->getParamDecl(I); in BuildBlockForLambdaConversion()
DSemaOverload.cpp5867 Function->getParamDecl(i)), in CheckEnableIf()
7462 C->Function->getParamDecl(0)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads()
7464 C->Function->getParamDecl(1)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads()
8963 if (modeCount == 1 && Fn->getParamDecl(0)->getDeclName()) in DiagnoseArityMismatch()
8966 << mode << Fn->getParamDecl(0) << NumFormalArgs; in DiagnoseArityMismatch()
9236 Meth->getParamDecl(0)->getType()->getAs<ReferenceType>()) { in DiagnoseBadTarget()
10989 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
11194 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp()
11210 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp()
11218 FnDecl->getParamDecl(1)), in CreateOverloadedBinOp()
[all …]
DSemaTemplateDeduction.cpp2947 QualType DeducedA = Specialization->getParamDecl(ParamIdx)->getType(); in FinishTemplateArgumentDeduction()
3304 ParamTypes.push_back(Function->getParamDecl(I)->getType()); in DeduceTemplateArguments()
4261 ParmVarDecl *Last = Function->getParamDecl(NumParams - 1); in isVariadicFunctionTemplate()
4267 if (Function->getParamDecl(NumParams - 1)->isParameterPack()) in isVariadicFunctionTemplate()
4970 ::MarkUsedTemplateParameters(Ctx, Function->getParamDecl(I)->getType(), in MarkDeducedTemplateParameters()
DSemaDeclAttr.cpp92 return BD->getParamDecl(Idx)->getType(); in getFunctionOrMethodParamType()
99 return FD->getParamDecl(Idx)->getSourceRange(); in getFunctionOrMethodParamRange()
103 return BD->getParamDecl(Idx)->getSourceRange(); in getFunctionOrMethodParamRange()
555 ArgTy = FD->getParamDecl(ParamIdxFromZero)->getType(); in checkAttrArgsAreCapabilityObjs()
2461 QualType ParamTy = FD->getParamDecl(0)->getType(); in handleCleanupAttr()
2462 if (S.CheckAssignmentConstraints(FD->getParamDecl(0)->getLocation(), in handleCleanupAttr()
DSemaDecl.cpp1146 ParmVarDecl *Param = FD->getParamDecl(P); in ActOnReenterFunctionContext()
2428 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
2994 ParmVarDecl *OldParm = Old->getParamDecl(Idx); in MergeFunctionDecl()
2995 ParmVarDecl *NewParm = New->getParamDecl(Idx); in MergeFunctionDecl()
3092 mergeParamDeclAttributes(New->getParamDecl(i), Old->getParamDecl(i), in MergeCompatibleFunctionDecls()
4387 QualType DeclParamTy = Declaration->getParamDecl(Idx)->getType(); in hasSimilarParameters()
4388 QualType DefParamTy = Definition->getParamDecl(Idx)->getType(); in hasSimilarParameters()
6667 ParmVarDecl *FDParam = FD->getParamDecl(Idx-1); in DiagnoseInvalidRedeclaration()
6673 << NewFD->getParamDecl(Idx - 1)->getType(); in DiagnoseInvalidRedeclaration()
10925 FD->getParamDecl(FormatIdx)->getType()->isObjCObjectPointerType()) in AddKnownFunctionAttributes()
DSemaExprCXX.cpp826 BuildCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I)).get(); in CheckCXXThrowOperand()
1709 S.Context.hasSameUnqualifiedType(FD->getParamDecl(1)->getType(), in isNonPlacementDeallocationFunction()
2150 Context.getCanonicalType(Func->getParamDecl(0) in DeclareGlobalAllocationFunction()
2154 ? Context.getCanonicalType(Func->getParamDecl(1) in DeclareGlobalAllocationFunction()
2743 BeforeToType = Ctor->getParamDecl(0)->getType().getNonReferenceType(); in PerformImplicitConversion()
DSemaTemplateInstantiate.cpp2759 if (FD->getParamDecl(i) == PV) in getCanonicalParmVarDecl()
2760 return FD->getCanonicalDecl()->getParamDecl(i); in getCanonicalParmVarDecl()
DSemaTemplateInstantiateDecl.cpp3076 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope()
3080 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope()
3111 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope()
DSemaCodeComplete.cpp2259 const ParmVarDecl *Param = Function->getParamDecl(P); in AddFunctionParameterChunks()
2833 if (Function && Function->getParamDecl(P)->hasDefaultArg() && !InOptional) { in AddOverloadParameterChunks()
2858 Function->getParamDecl(P)); in AddOverloadParameterChunks()
2912 FDecl->getParamDecl(CurrentArg))) in CreateSignatureString()
DSemaLookup.cpp2739 FD->getParamDecl(0)->getType()->getAs<PointerType>()) in LookupLiteralOperator()
2744 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType(); in LookupLiteralOperator()
DSemaChecking.cpp517 Context.getExceptionObjectType(FDecl->getParamDecl(0)->getType()), in CheckBuiltinFunctionCall()
1689 ParmVarDecl *Param = Fn->getParamDecl(ArgIndex); in checkBuiltinArgument()
4517 QualType ParamType = FDecl->getParamDecl(0)->getType(); in emitReplacement()
7099 if (FD->getParamDecl(i) == PV && in DiagnoseAlwaysNonNullPointer()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp442 ParmVarDecl *PD = FD->getParamDecl(i); in isPassedToCParamWithKnownOwnership()
/external/clang/include/clang/AST/
DDecl.h1925 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function
1929 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
3494 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function
3498 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp424 ParamDecl = FD->getParamDecl(i); in checkPreCall()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp385 QualType T = FD->getParamDecl(1)->getType(); in VisitCXXNewExpr()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp382 ParmVarDecl *OldParam = Old->getParamDecl(I); in ParseLexedMethodDeclaration()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2624 *Node.getParamDecl(N), Finder, Builder)); in AST_MATCHER_P2()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp412 const ParmVarDecl *parm = FD->getParamDecl(i); in GenOpenCLArgMetadata()

12