/external/clang/include/clang/AST/ |
D | SelectorLocationsKind.h | 24 class ParmVarDecl; variable 66 ArrayRef<ParmVarDecl *> Args, 78 ArrayRef<ParmVarDecl *> Args,
|
D | CommentSema.h | 193 ArrayRef<const ParmVarDecl *> getParamVars(); 201 ArrayRef<const ParmVarDecl *> ParamVars); 206 ArrayRef<const ParmVarDecl *> ParamVars);
|
D | Decl.h | 783 friend class ParmVarDecl; variable 1238 class ParmVarDecl : public VarDecl { 1244 ParmVarDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc, in ParmVarDecl() function 1256 static ParmVarDecl *Create(ASTContext &C, DeclContext *DC, 1263 static ParmVarDecl *CreateDeserialized(ASTContext &C, unsigned ID); 1322 return const_cast<ParmVarDecl *>(this)->getDefaultArg(); in getDefaultArg() 1402 static bool classof(const ParmVarDecl *D) { return true; } in classof() 1455 ParmVarDecl **ParamInfo; 1547 void setParams(ASTContext &C, llvm::ArrayRef<ParmVarDecl *> NewParamInfo); 1801 typedef ParmVarDecl **param_iterator; [all …]
|
D | DeclObjC.h | 205 ParmVarDecl **getParams() { in getParams() 206 return reinterpret_cast<ParmVarDecl **>(ParamsAndSelLocs); in getParams() 208 const ParmVarDecl *const *getParams() const { in getParams() 209 return reinterpret_cast<const ParmVarDecl *const *>(ParamsAndSelLocs); in getParams() 221 ArrayRef<ParmVarDecl*> Params, 315 llvm::makeArrayRef(const_cast<ParmVarDecl**>(getParams()), in getSelectorLoc() 353 typedef const ParmVarDecl *const *param_const_iterator; 354 typedef ParmVarDecl *const *param_iterator; 369 ArrayRef<ParmVarDecl*> Params, 374 typedef std::const_mem_fun_t<QualType, ParmVarDecl> deref_fun; [all …]
|
D | TypeLoc.h | 25 class ParmVarDecl; variable 1086 ArrayRef<ParmVarDecl *> getParams() const { in getParams() 1087 return ArrayRef<ParmVarDecl *>(getParmArray(), getNumArgs()); in getParams() 1091 ParmVarDecl **getParmArray() const { in getParmArray() 1092 return (ParmVarDecl**) getExtraLocalData(); in getParmArray() 1100 ParmVarDecl *getArg(unsigned i) const { return getParmArray()[i]; } in getArg() 1101 void setArg(unsigned i, ParmVarDecl *VD) { getParmArray()[i] = VD; } in setArg() 1121 return getNumArgs() * sizeof(ParmVarDecl*); in getExtraLocalDataSize()
|
/external/clang/lib/AST/ |
D | SelectorLocationsKind.cpp | 56 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) { in getArgLoc() 116 ArrayRef<ParmVarDecl *> Args, in hasStandardSelectorLocs() 124 ArrayRef<ParmVarDecl *> Args, in getStandardSelectorLoc()
|
D | Comment.cpp | 151 ParamVars = ArrayRef<const ParmVarDecl *>(); in fill() 172 ParamVars = ArrayRef<const ParmVarDecl *>(FD->param_begin(), in fill() 193 ParamVars = ArrayRef<const ParmVarDecl *>(MD->param_begin(), in fill() 206 ParamVars = ArrayRef<const ParmVarDecl *>(FD->param_begin(), in fill() 287 ArrayRef<ParmVarDecl *> Params = FTL->getParams(); in fill() 288 ParamVars = ArrayRef<const ParmVarDecl *>(Params.data(), in fill()
|
D | CommentSema.cpp | 507 ArrayRef<const ParmVarDecl *> ParamVars = getParamVars(); in resolveParamCommandIndexes() 538 llvm::SmallVector<const ParmVarDecl *, 8> OrphanedParamDecls; in resolveParamCommandIndexes() 570 const ParmVarDecl *CorrectedPVD = OrphanedParamDecls[CorrectedParamIndex]; in resolveParamCommandIndexes() 595 ArrayRef<const ParmVarDecl *> Sema::getParamVars() { in getParamVars() 606 ArrayRef<const ParmVarDecl *> ParamVars) { in resolveParmVarReference() 671 ArrayRef<const ParmVarDecl *> ParamVars) { in correctTypoInParmVarReference()
|
D | Decl.cpp | 767 if (isa<ParmVarDecl>(ContextDecl)) in getLVForDecl() 1556 ParmVarDecl *ParmVarDecl::Create(ASTContext &C, DeclContext *DC, in Create() 1562 return new (C) ParmVarDecl(ParmVar, DC, StartLoc, IdLoc, Id, T, TInfo, in Create() 1566 ParmVarDecl *ParmVarDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 1567 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(ParmVarDecl)); in CreateDeserialized() 1568 return new (Mem) ParmVarDecl(ParmVar, 0, SourceLocation(), SourceLocation(), in CreateDeserialized() 1572 SourceRange ParmVarDecl::getSourceRange() const { in getSourceRange() 1582 Expr *ParmVarDecl::getDefaultArg() { in getDefaultArg() 1594 SourceRange ParmVarDecl::getDefaultArgRange() const { in getDefaultArgRange() 1604 bool ParmVarDecl::isParameterPack() const { in isParameterPack() [all …]
|
D | DeclPrinter.cpp | 57 void VisitParmVarDecl(ParmVarDecl *D); 617 if (ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) in VisitVarDecl() 640 void DeclPrinter::VisitParmVarDecl(ParmVarDecl *D) { in VisitParmVarDecl()
|
D | DeclBase.cpp | 72 if (Invalid && !isa<ParmVarDecl>(this)) { in setInvalidDecl() 139 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(this)) in isParameterPack() 670 isa<ParmVarDecl>(this) || in CheckAccessDeclContext()
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 57 llvm::ArrayRef<ParmVarDecl *> Params) { in startLambdaDefinition() 90 CheckParmsForFunctionDef(const_cast<ParmVarDecl **>(Params.begin()), in startLambdaDefinition() 91 const_cast<ParmVarDecl **>(Params.end()), in startLambdaDefinition() 115 if (ParmVarDecl *Param = dyn_cast<ParmVarDecl>(ContextDecl)) { in startLambdaDefinition() 139 !(ContextDecl && isa<ParmVarDecl>(ContextDecl))) || in startLambdaDefinition() 216 ParmVarDecl *Param = CallOperator->getParamDecl(p); in addLambdaParameters() 380 llvm::SmallVector<ParmVarDecl *, 8> Params; in ActOnStartOfLambdaDefinition() 416 Params.push_back(cast<ParmVarDecl>(FTI.ArgInfo[i].Param)); in ActOnStartOfLambdaDefinition() 660 SmallVector<ParmVarDecl *, 4> InvokeParams; in addFunctionPointerConversion() 662 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion() [all …]
|
D | SemaExprObjC.cpp | 237 ParmVarDecl *value = ParmVarDecl::Create(S.Context, Method, in getNSNumberFactoryMethod() 291 ParmVarDecl *ParamDecl = Method->param_begin()[0]; in BuildObjCNumericLiteral() 486 ParmVarDecl *value = in BuildObjCBoxedExpr() 487 ParmVarDecl::Create(Context, M, in BuildObjCBoxedExpr() 562 ParmVarDecl *ParamDecl = BoxingMethod->param_begin()[0]; in BuildObjCBoxedExpr() 653 SmallVector<ParmVarDecl *, 2> Params; in BuildObjCArrayLiteral() 654 ParmVarDecl *objects = ParmVarDecl::Create(Context, Method, in BuildObjCArrayLiteral() 662 ParmVarDecl *cnt = ParmVarDecl::Create(Context, Method, in BuildObjCArrayLiteral() 771 SmallVector<ParmVarDecl *, 3> Params; in BuildObjCDictionaryLiteral() 772 ParmVarDecl *objects = ParmVarDecl::Create(Context, Method, in BuildObjCDictionaryLiteral() [all …]
|
D | SemaTemplateInstantiate.cpp | 298 ParmVarDecl *Param, in InstantiatingTemplate() 546 ParmVarDecl *Param = cast<ParmVarDecl>((Decl *)Active->Entity); in PrintInstantiationStack() 721 void ExpandingFunctionParameterPack(ParmVarDecl *Pack) { in ExpandingFunctionParameterPack() 817 ParmVarDecl *TransformFunctionTypeParam(ParmVarDecl *OldParm, 1273 ParmVarDecl * 1274 TemplateInstantiator::TransformFunctionTypeParam(ParmVarDecl *OldParm, in TransformFunctionTypeParam() 1484 ParmVarDecl *P = FP.getArg(I); in NeedsInstantiationAsFunctionType() 1539 ParmVarDecl *Sema::SubstParmVarDecl(ParmVarDecl *OldParm, in SubstParmVarDecl() 1587 ParmVarDecl *NewParm = CheckParameter(Context.getTranslationUnitDecl(), in SubstParmVarDecl() 1634 ParmVarDecl **Params, unsigned NumParams, in SubstParmTypes() [all …]
|
D | SemaPseudoObject.cpp | 1041 ParmVarDecl *Argument = ParmVarDecl::Create(S.Context, AtIndexGetter, in findAtIndexGetter() 1157 SmallVector<ParmVarDecl *, 2> Params; in findAtIndexSetter() 1158 ParmVarDecl *object = ParmVarDecl::Create(S.Context, AtIndexSetter, in findAtIndexSetter() 1167 ParmVarDecl *key = ParmVarDecl::Create(S.Context, AtIndexSetter, in findAtIndexSetter()
|
D | SemaTemplateInstantiateDecl.cpp | 1047 SmallVector<ParmVarDecl *, 4> Params; in VisitFunctionDecl() 1108 ParmVarDecl *Param in VisitFunctionDecl() 1365 SmallVector<ParmVarDecl *, 4> Params; in VisitCXXMethodDecl() 1595 ParmVarDecl *TemplateDeclInstantiator::VisitParmVarDecl(ParmVarDecl *D) { in VisitParmVarDecl() 2270 SmallVectorImpl<ParmVarDecl *> &Params) { in SubstFunctionType() 2301 ParmVarDecl *OldParam = OldProtoLoc->getArg(OldIdx); in SubstFunctionType() 2312 ParmVarDecl *NewParam = NewProtoLoc->getArg(NewIdx++); in SubstFunctionType() 2319 ParmVarDecl *NewParam = NewProtoLoc->getArg(NewIdx++); in SubstFunctionType() 2334 ParmVarDecl *Parm = VisitParmVarDecl(OldProtoLoc->getArg(i)); in SubstFunctionType() 2353 const ParmVarDecl *PatternParam = PatternDecl->getParamDecl(I); in addInstantiatedParametersToScope() [all …]
|
D | SemaDeclCXX.cpp | 82 if (ParmVarDecl *Param = dyn_cast<ParmVarDecl>(Decl)) { in VisitDeclRefExpr() 230 Sema::SetParamDefaultArgument(ParmVarDecl *Param, Expr *Arg, in SetParamDefaultArgument() 284 ParmVarDecl *Param = cast<ParmVarDecl>(param); in ActOnParamDefaultArgument() 321 ParmVarDecl *Param = cast<ParmVarDecl>(param); in ActOnParamUnparsedDefaultArgument() 334 ParmVarDecl *Param = cast<ParmVarDecl>(param); in ActOnParamDefaultArgumentError() 358 ParmVarDecl *Param = in CheckExtraCXXDefaultArguments() 359 cast<ParmVarDecl>(chunk.Fun.ArgInfo[argIdx].Param); in CheckExtraCXXDefaultArguments() 403 ParmVarDecl *OldParam = Old->getParamDecl(p); in MergeCXXFunctionDecl() 404 ParmVarDecl *NewParam = New->getParamDecl(p); in MergeCXXFunctionDecl() 604 ParmVarDecl *Param = FD->getParamDecl(p); in CheckCXXDefaultArguments() [all …]
|
D | SemaTemplateVariadic.cpp | 143 if ((D && isa<ParmVarDecl>(D)) || InLambda) in TraverseDecl() 556 if (isa<ParmVarDecl>(ND)) in CheckParameterPacksForExpansion() 657 if (isa<ParmVarDecl>(ND)) { in getNumArgumentsInExpansion()
|
D | SemaDeclObjC.cpp | 181 const ParmVarDecl *oldDecl = (*oi); in CheckObjCMethodOverride() 182 ParmVarDecl *newDecl = (*ni); in CheckObjCMethodOverride() 289 StrongPointerToObjCPointer(Sema &S, ParmVarDecl *Param) { in StrongPointerToObjCPointer() 331 ParmVarDecl *Param = (*PI); in ActOnStartOfObjCMethodDef() 1305 ParmVarDecl *ImplVar, in CheckMethodOverrideParam() 1306 ParmVarDecl *IfaceVar, in CheckMethodOverrideParam() 2018 const ParmVarDecl *lparm = *li, *rparm = *ri; in MatchTwoMethodDeclarations() 2835 SmallVector<ParmVarDecl*, 16> Params; in ActOnMethodDeclaration() 2869 ParmVarDecl* Param = CheckParameter(ObjCMethod, StartLoc, in ActOnMethodDeclaration() 2892 ParmVarDecl *Param = cast<ParmVarDecl>(CParamInfo[i].Param); in ActOnMethodDeclaration()
|
/external/clang/include/clang/Sema/ |
D | Template.h | 407 ParmVarDecl *VisitParmVarDecl(ParmVarDecl *D); 473 SmallVectorImpl<ParmVarDecl *> &Params);
|
D | Initialization.h | 33 class ParmVarDecl; variable 178 ParmVarDecl *Parm) { in InitializeParameter()
|
D | Sema.h | 135 class ParmVarDecl; variable 689 typedef llvm::DenseMap<ParmVarDecl *, SmallVector<ParmVarDecl *, 1> > 703 llvm::DenseMap<ParmVarDecl *,SourceLocation> UnparsedDefaultArgLocs; 1287 ParmVarDecl *BuildParmVarDeclForTypedef(DeclContext *DC, 1290 ParmVarDecl *CheckParameter(DeclContext *DC, SourceLocation StartLoc, 1301 bool SetParamDefaultArgument(ParmVarDecl *Param, Expr *DefaultArg, 1344 void DiagnoseUnusedParameters(ParmVarDecl * const *Begin, 1345 ParmVarDecl * const *End); 1350 void DiagnoseSizeOfParametersAndReturnValue(ParmVarDecl * const *Begin, 1351 ParmVarDecl * const *End, [all …]
|
/external/clang/tools/libclang/ |
D | IndexDecl.cpp | 33 if (ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in handleDeclarator()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CallEvent.h | 298 typedef std::const_mem_fun_t<QualType, ParmVarDecl> get_type_fun; 301 typedef const ParmVarDecl * const *param_iterator; 331 get_type_fun(&ParmVarDecl::getType)); in param_type_begin() 335 return llvm::map_iterator(param_end(), get_type_fun(&ParmVarDecl::getType)); in param_type_end()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 432 ParmVarDecl* PVD = cast<ParmVarDecl>(*I); in PrintDeclContext()
|