Home
last modified time | relevance | path

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

12

/external/clang/lib/Analysis/
DBodyFarm.cpp177 const ParmVarDecl *Predicate = D->getParamDecl(0); in create_dispatch_once()
187 const ParmVarDecl *Block = D->getParamDecl(1); in create_dispatch_once()
254 const ParmVarDecl *PV = D->getParamDecl(1); in create_dispatch_sync()
296 const ParmVarDecl *OldValue = D->getParamDecl(0); in create_OSAtomicCompareAndSwap()
299 const ParmVarDecl *NewValue = D->getParamDecl(1); in create_OSAtomicCompareAndSwap()
304 const ParmVarDecl *TheValue = D->getParamDecl(2); in create_OSAtomicCompareAndSwap()
DThreadSafetyCommon.cpp283 VD = FD->getParamDecl(I); in translateDeclRefExpr()
DConsumed.cpp626 const ParmVarDecl *Param = FunD->getParamDecl(Index - Offset); in handleCall()
/external/clang/lib/AST/
DDeclCXX.cpp587 Method->getParamDecl(0)->getType()->getAs<ReferenceType>(); in addedMember()
1571 !Context.hasSameUnqualifiedType(getParamDecl(1)->getType(), in isUsualDeallocationFunction()
1599 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator()
1619 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator()
1857 (getNumParams() > 0 && getParamDecl(0)->hasDefaultArg()); in isDefaultConstructor()
1863 getParamDecl(0)->getType()->isLValueReferenceType(); in isCopyConstructor()
1868 getParamDecl(0)->getType()->isRValueReferenceType(); in isMoveConstructor()
1884 (getNumParams() > 1 && !getParamDecl(1)->hasDefaultArg()) || in isCopyOrMoveConstructor()
1889 const ParmVarDecl *Param = getParamDecl(0); in isCopyOrMoveConstructor()
1927 (getParamDecl(1)->hasDefaultArg() || in isConvertingConstructor()
[all …]
DDeclPrinter.cpp494 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
505 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl()
648 ParamPrinter.VisitParmVarDecl(D->getParamDecl(i)); in VisitFunctionDecl()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc351 tuple<Decl *, int> pt = make_tuple(F->getParamDecl(i), in VisitCallExpr()
685 expansionRange(SourceRange(GET_ENDLOC(D->getParamDecl(0)), in rewriteFuncParam()
686 GET_ENDLOC(D->getParamDecl(D->getNumParams() - 1)))), in rewriteFuncParam()
706 error(GET_BEGINLOC(D->getParamDecl(MAX_CALLING_CONV_REGS + 1)), in VisitFunctionDecl()
1278 if (arg == F->getParamDecl(0)) { in HandleTranslationUnit()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp45 Signature.append(Target->getParamDecl(i)->getType().getAsString()); in GetSignature()
DExprEngineCXX.cpp441 QualType T = FD->getParamDecl(1)->getType(); in VisitCXXNewExpr()
/external/v8/tools/clang/blink_gc_plugin/
DConfig.h224 const clang::QualType& formal_type = method->getParamDecl(0)->getType(); in GetTraceMethodType()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp422 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()
3371 ParmVarDecl *Param = Constructor->getParamDecl(0); in BuildImplicitBaseInitializer()
[all …]
DSemaLambda.cpp479 ParmVarDecl *Param = CallOperator->getParamDecl(p); in addLambdaParameters()
1241 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion()
1682 ParmVarDecl *From = CallOperator->getParamDecl(I); in BuildBlockForLambdaConversion()
DSemaOverload.cpp5989 Context, Function->getParamDecl(I)), in CheckEnableIf()
6007 ParmVarDecl *P = Function->getParamDecl(i); in CheckEnableIf()
6010 Function->getParamDecl(i)), in CheckEnableIf()
7602 C->Function->getParamDecl(0)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads()
7604 C->Function->getParamDecl(1)->getType().getUnqualifiedType(); in addRelationalPointerOrEnumeralOverloads()
9357 if (modeCount == 1 && Fn->getParamDecl(0)->getDeclName()) in DiagnoseArityMismatch()
9360 << mode << Fn->getParamDecl(0) << NumFormalArgs; in DiagnoseArityMismatch()
9652 Meth->getParamDecl(0)->getType()->getAs<ReferenceType>()) { in DiagnoseBadTarget()
11587 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
11790 FnDecl->getParamDecl(0)), in CreateOverloadedBinOp()
[all …]
DSemaTemplateDeduction.cpp2939 QualType DeducedA = Specialization->getParamDecl(ParamIdx)->getType(); in FinishTemplateArgumentDeduction()
3374 ParamTypes.push_back(Function->getParamDecl(I)->getType()); in DeduceTemplateArguments()
4332 ParmVarDecl *Last = Function->getParamDecl(NumParams - 1); in isVariadicFunctionTemplate()
4338 if (Function->getParamDecl(NumParams - 1)->isParameterPack()) in isVariadicFunctionTemplate()
5044 ::MarkUsedTemplateParameters(Ctx, Function->getParamDecl(I)->getType(), in MarkDeducedTemplateParameters()
DSemaDeclAttr.cpp97 return BD->getParamDecl(Idx)->getType(); in getFunctionOrMethodParamType()
104 return FD->getParamDecl(Idx)->getSourceRange(); in getFunctionOrMethodParamRange()
108 return BD->getParamDecl(Idx)->getSourceRange(); in getFunctionOrMethodParamRange()
579 ArgTy = FD->getParamDecl(ParamIdxFromZero)->getType(); in checkAttrArgsAreCapabilityObjs()
2737 QualType ParamTy = FD->getParamDecl(0)->getType(); in handleCleanupAttr()
2738 if (S.CheckAssignmentConstraints(FD->getParamDecl(0)->getLocation(), in handleCleanupAttr()
DSemaTemplateInstantiateDecl.cpp257 PVD, FD->getParamDecl(PVD->getFunctionScopeIndex())); in instantiateOMPDeclareSimdDeclAttr()
3296 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope()
3300 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope()
3331 ParmVarDecl *FunctionParam = Function->getParamDecl(FParamIdx); in addInstantiatedParametersToScope()
DSemaDecl.cpp1205 ParmVarDecl *Param = FD->getParamDecl(P); in ActOnReenterFunctionContext()
2533 FirstFD->getParamDecl(oldDecl->getFunctionScopeIndex()); in mergeParamDeclAttributes()
3182 ParmVarDecl *OldParm = Old->getParamDecl(Idx); in MergeFunctionDecl()
3183 ParmVarDecl *NewParm = New->getParamDecl(Idx); in MergeFunctionDecl()
3280 ParmVarDecl *NewParam = New->getParamDecl(i); in MergeCompatibleFunctionDecls()
3281 ParmVarDecl *OldParam = Old->getParamDecl(i); in MergeCompatibleFunctionDecls()
4692 QualType DeclParamTy = Declaration->getParamDecl(Idx)->getType(); in hasSimilarParameters()
4693 QualType DefParamTy = Definition->getParamDecl(Idx)->getType(); in hasSimilarParameters()
7282 ParmVarDecl *FDParam = FD->getParamDecl(Idx-1); in DiagnoseInvalidRedeclaration()
7288 << NewFD->getParamDecl(Idx - 1)->getType(); in DiagnoseInvalidRedeclaration()
[all …]
DSemaExprCXX.cpp866 BuildCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I)).get(); in CheckCXXThrowOperand()
1951 S.Context.hasSameUnqualifiedType(FD->getParamDecl(1)->getType(), in isNonPlacementDeallocationFunction()
2390 Context.getCanonicalType(Func->getParamDecl(0) in DeclareGlobalAllocationFunction()
2394 ? Context.getCanonicalType(Func->getParamDecl(1) in DeclareGlobalAllocationFunction()
3276 BeforeToType = Ctor->getParamDecl(0)->getType().getNonReferenceType(); in PerformImplicitConversion()
DSemaTemplateInstantiate.cpp2756 if (FD->getParamDecl(i) == PV) in getCanonicalParmVarDecl()
2757 return FD->getCanonicalDecl()->getParamDecl(i); in getCanonicalParmVarDecl()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp442 ParmVarDecl *PD = FD->getParamDecl(i); in isPassedToCParamWithKnownOwnership()
/external/clang/include/clang/AST/
DDecl.h2011 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function
2015 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
3561 const ParmVarDecl *getParamDecl(unsigned i) const { in getParamDecl() function
3565 ParmVarDecl *getParamDecl(unsigned i) { in getParamDecl() function
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp83 auto* param_type = passed_decl->getParamDecl(0)->getType().getTypePtr(); in run()
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp431 ParamDecl = FD->getParamDecl(i); in checkPreCall()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp386 ParmVarDecl *OldParam = Old->getParamDecl(I); in ParseLexedMethodDeclaration()
/external/clang/lib/CodeGen/
DCGClass.cpp2127 QualType SrcTy = D->getParamDecl(0)->getType().getNonReferenceType(); in EmitCXXConstructorCall()
2202 OuterCtor->getParamDecl(Param->getFunctionScopeIndex())->getType(), in EmitInheritedCXXConstructorCall()
DCGCall.cpp132 if (FD->getParamDecl(I)->hasAttr<PassObjectSizeAttr>()) in appendParameterTypes()
3154 auto PVD = ParmNum < FD->getNumParams() ? FD->getParamDecl(ParmNum) : nullptr; in EmitNonNullArgCheck()
3182 auto *PS = CalleeDecl->getParamDecl(I)->getAttr<PassObjectSizeAttr>(); in EmitCallArgs()

12