Home
last modified time | relevance | path

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

12

/external/clang/lib/Analysis/
DBodyFarm.cpp179 const ParmVarDecl *Predicate = D->getParamDecl(0); in create_dispatch_once()
189 const ParmVarDecl *Block = D->getParamDecl(1); in create_dispatch_once()
257 const ParmVarDecl *PV = D->getParamDecl(1); in create_dispatch_sync()
299 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap()
302 const ParmVarDecl *NewValue = D->getParamDecl(1); in create_OSAtomicCompareAndSwap()
307 const ParmVarDecl *TheValue = D->getParamDecl(2); in create_OSAtomicCompareAndSwap()
DThreadSafetyCommon.cpp182 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()
1456 !Context.hasSameUnqualifiedType(getParamDecl(1)->getType(), in isUsualDeallocationFunction()
1484 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator()
1504 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator()
1725 (getNumParams() > 0 && getParamDecl(0)->hasDefaultArg()); in isDefaultConstructor()
1731 getParamDecl(0)->getType()->isLValueReferenceType(); in isCopyConstructor()
1736 getParamDecl(0)->getType()->isRValueReferenceType(); in isMoveConstructor()
1752 (getNumParams() > 1 && !getParamDecl(1)->hasDefaultArg()) || in isCopyOrMoveConstructor()
1757 const ParmVarDecl *Param = getParamDecl(0); in isCopyOrMoveConstructor()
1795 (getParamDecl(1)->hasDefaultArg() || in isConvertingConstructor()
[all …]
DDeclPrinter.cpp429 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
440 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl()
583 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
DExprCXX.cpp746 cast<FunctionDecl>(getCalleeDecl())->getParamDecl(0)->getType(); in getLiteralOperatorKind()
/external/chromium_org/tools/clang/blink_gc_plugin/
DConfig.h168 const clang::QualType& formal_type = method->getParamDecl(0)->getType();
/external/clang/lib/Sema/
DSemaDeclCXX.cpp404 const ParmVarDecl *PVD = FD->getParamDecl(NumParams-1); in functionDeclHasDefaultArgument()
440 ParmVarDecl *OldParam = Old->getParamDecl(p); in MergeCXXFunctionDecl()
441 ParmVarDecl *NewParam = New->getParamDecl(p); in MergeCXXFunctionDecl()
499 if (!Older->getParamDecl(p)->hasDefaultArg()) in MergeCXXFunctionDecl()
502 OldParam = Older->getParamDecl(p); in MergeCXXFunctionDecl()
578 ParmVarDecl *NewParam = New->getParamDecl(New->getMinRequiredArguments()); in MergeCXXFunctionDecl()
672 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments()
685 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments()
707 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments()
725 const ParmVarDecl *PD = FD->getParamDecl(ArgIndex); in CheckConstexprParameterTypes()
[all …]
DSemaLambda.cpp478 ParmVarDecl *Param = CallOperator->getParamDecl(p); in addLambdaParameters()
1246 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion()
1591 ParmVarDecl *From = CallOperator->getParamDecl(I); in BuildBlockForLambdaConversion()
DSemaOverload.cpp5716 Function->getParamDecl(i)), in CheckEnableIf()
7300 C->Function->getParamDecl(0)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads()
7302 C->Function->getParamDecl(1)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads()
8804 if (modeCount == 1 && Fn->getParamDecl(0)->getDeclName()) in DiagnoseArityMismatch()
8807 << mode << Fn->getParamDecl(0) << NumFormalArgs; in DiagnoseArityMismatch()
10775 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
10977 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp()
10993 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp()
11001 FnDecl->getParamDecl(1)), in CreateOverloadedBinOp()
11211 FnDecl->getParamDecl(0)), in CreateOverloadedArraySubscriptExpr()
[all …]
DSemaTemplateDeduction.cpp2979 QualType DeducedA = Specialization->getParamDecl(ParamIdx)->getType(); in FinishTemplateArgumentDeduction()
3347 ParamTypes.push_back(Function->getParamDecl(I)->getType()); in DeduceTemplateArguments()
4305 ParmVarDecl *Last = Function->getParamDecl(NumParams - 1); in isVariadicFunctionTemplate()
4311 if (Function->getParamDecl(NumParams - 1)->isParameterPack()) in isVariadicFunctionTemplate()
5087 ::MarkUsedTemplateParameters(Ctx, Function->getParamDecl(I)->getType(), in MarkDeducedTemplateParameters()
DSemaDecl.cpp1098 ParmVarDecl *Param = FD->getParamDecl(P); in ActOnReenterFunctionContext()
2268 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
2833 ParmVarDecl *OldParm = Old->getParamDecl(Idx); in MergeFunctionDecl()
2834 ParmVarDecl *NewParm = New->getParamDecl(Idx); in MergeFunctionDecl()
2931 mergeParamDeclAttributes(New->getParamDecl(i), Old->getParamDecl(i), in MergeCompatibleFunctionDecls()
4143 QualType DeclParamTy = Declaration->getParamDecl(Idx)->getType(); in hasSimilarParameters()
4144 QualType DefParamTy = Definition->getParamDecl(Idx)->getType(); in hasSimilarParameters()
6404 ParmVarDecl *FDParam = FD->getParamDecl(Idx-1); in DiagnoseInvalidRedeclaration()
6410 << NewFD->getParamDecl(Idx - 1)->getType(); in DiagnoseInvalidRedeclaration()
10390 FD->getParamDecl(FormatIdx)->getType()->isObjCObjectPointerType()) in AddKnownFunctionAttributes()
DSemaDeclAttr.cpp86 return BD->getParamDecl(Idx)->getType(); in getFunctionOrMethodParamType()
511 ArgTy = FD->getParamDecl(ParamIdxFromZero)->getType(); in checkAttrArgsAreCapabilityObjs()
2333 QualType ParamTy = FD->getParamDecl(0)->getType(); in handleCleanupAttr()
2334 if (S.CheckAssignmentConstraints(FD->getParamDecl(0)->getLocation(), in handleCleanupAttr()
DSemaExprCXX.cpp1611 S.Context.hasSameUnqualifiedType(FD->getParamDecl(1)->getType(), in isNonPlacementDeallocationFunction()
2052 Context.getCanonicalType(Func->getParamDecl(0) in DeclareGlobalAllocationFunction()
2056 ? Context.getCanonicalType(Func->getParamDecl(1) in DeclareGlobalAllocationFunction()
2636 BeforeToType = Ctor->getParamDecl(0)->getType().getNonReferenceType(); in PerformImplicitConversion()
DSemaTemplateInstantiateDecl.cpp2985 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope()
2989 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope()
3011 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope()
DSemaLookup.cpp2680 FD->getParamDecl(0)->getType()->getAs<PointerType>()) in LookupLiteralOperator()
2685 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType(); in LookupLiteralOperator()
DSemaTemplateInstantiate.cpp2661 return FD->getCanonicalDecl()->getParamDecl(i); in getCanonicalParmVarDecl()
DSemaCodeComplete.cpp2260 const ParmVarDecl *Param = Function->getParamDecl(P); in AddFunctionParameterChunks()
2857 ArgString = FDecl->getParamDecl(I)->getNameAsString(); in CreateSignatureString()
2858 ArgType = FDecl->getParamDecl(I)->getOriginalType(); in CreateSignatureString()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp442 ParmVarDecl *PD = FD->getParamDecl(i); in isPassedToCParamWithKnownOwnership()
/external/clang/include/clang/AST/
DDecl.h1865 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function
1869 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
3339 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function
3343 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp424 ParamDecl = FD->getParamDecl(i); in checkPreCall()
DMallocChecker.cpp574 QualType T = FD->getParamDecl(1)->getType(); in isStandardNewDelete()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp385 QualType T = FD->getParamDecl(1)->getType(); in VisitCXXNewExpr()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp369 const ParmVarDecl *parm = FD->getParamDecl(i); in GenOpenCLArgMetadata()
777 Args.push_back(FD->getParamDecl(i)); in GenerateCode()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2302 *Node.getParamDecl(N), Finder, Builder)); in AST_MATCHER_P2()

12