/external/clang/lib/Index/ |
D | IndexDecl.cpp | 57 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in handleDeclarator() local 58 auto *DC = Parm->getDeclContext(); in handleDeclarator() 61 IndexCtx.handleDecl(Parm); in handleDeclarator() 64 IndexCtx.handleDecl(Parm); in handleDeclarator() 66 IndexCtx.handleDecl(Parm); in handleDeclarator()
|
/external/clang/include/clang/Sema/ |
D | Initialization.h | 205 ParmVarDecl *Parm) { in InitializeParameter() argument 206 return InitializeParameter(Context, Parm, Parm->getType()); in InitializeParameter() 212 ParmVarDecl *Parm, in InitializeParameter() argument 215 Parm->hasAttr<NSConsumedAttr>()); in InitializeParameter() 223 = (static_cast<uintptr_t>(Consumed) | reinterpret_cast<uintptr_t>(Parm)); in InitializeParameter()
|
D | AttributeList.h | 254 IdentifierLoc *Parm, const AvailabilityChange &introduced, in AttributeList() argument 267 ArgsUnion PVal(Parm); in AttributeList()
|
D | Sema.h | 3526 Decl *Parm, Stmt *Body);
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 193 TemplateTemplateParmDecl *Parm; variable 196 CanonicalTemplateTemplateParm(TemplateTemplateParmDecl *Parm) in CanonicalTemplateTemplateParm() argument 197 : Parm(Parm) { } in CanonicalTemplateTemplateParm() 199 TemplateTemplateParmDecl *getParam() const { return Parm; } in getParam() 201 void Profile(llvm::FoldingSetNodeID &ID) { Profile(ID, Parm); } in Profile() 204 TemplateTemplateParmDecl *Parm);
|
D | DeclTemplate.h | 263 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg() argument 264 const DefaultArgStorage &Storage = Parm->getDefaultArgStorage(); in getParmOwningDefaultArg() 266 Parm = Prev; in getParmOwningDefaultArg() 267 assert(!Parm->getDefaultArgStorage() in getParmOwningDefaultArg() 270 return Parm; in getParmOwningDefaultArg() 1237 NonTypeTemplateParmDecl *Parm) { 1238 DefaultArgument.setInherited(C, Parm);
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 1648 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in VisitDecl() local 1656 VisitType(Parm->getType()); in VisitDecl() 1657 ID.AddInteger(Parm->getFunctionScopeDepth()); in VisitDecl() 1658 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
|
D | MicrosoftMangle.cpp | 360 const NamedDecl *Parm); 1228 const NamedDecl *Parm) { in mangleTemplateArg() argument 1307 if (isa<TemplateTypeParmDecl>(Parm) || in mangleTemplateArg() 1308 isa<TemplateTemplateParmDecl>(Parm)) in mangleTemplateArg() 1315 else if (isa<NonTypeTemplateParmDecl>(Parm)) in mangleTemplateArg() 1321 mangleTemplateArg(TD, PA, Parm); in mangleTemplateArg()
|
D | ItaniumMangle.cpp | 1475 if (const ParmVarDecl *Parm in mangleLocalName() local 1478 = dyn_cast<FunctionDecl>(Parm->getDeclContext())) { in mangleLocalName() 1480 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName() 1504 if (const ParmVarDecl *Parm in mangleLocalName() local 1507 = dyn_cast<FunctionDecl>(Parm->getDeclContext())) { in mangleLocalName() 1509 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
|
D | ASTContext.cpp | 550 TemplateTemplateParmDecl *Parm) { in Profile() argument 551 ID.AddInteger(Parm->getDepth()); in Profile() 552 ID.AddInteger(Parm->getPosition()); in Profile() 553 ID.AddBoolean(Parm->isParameterPack()); in Profile() 555 TemplateParameterList *Params = Parm->getTemplateParameters(); in Profile() 3281 ASTContext::getSubstTemplateTypeParmType(const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmType() argument 3287 SubstTemplateTypeParmType::Profile(ID, Parm, Replacement); in getSubstTemplateTypeParmType() 3294 SubstTemplateTypeParmType(Parm, Replacement); in getSubstTemplateTypeParmType() 3304 const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmPackType() argument 3314 SubstTemplateTypeParmPackType::Profile(ID, Parm, ArgPack); in getSubstTemplateTypeParmPackType() [all …]
|
D | DeclBase.cpp | 182 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(this)) in isParameterPack() local 183 return Parm->isParameterPack(); in isParameterPack()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 3633 if (IdentifierInfo *Parm = ObjCBAttr->getBridgedType()) { in CheckObjCBridgeNSCast() local 3635 if (Parm->isStr("id")) in CheckObjCBridgeNSCast() 3640 LookupResult R(S, DeclarationName(Parm), SourceLocation(), in CheckObjCBridgeNSCast() 3676 << castExpr->getType() << Parm; in CheckObjCBridgeNSCast() 3698 if (IdentifierInfo *Parm = ObjCBAttr->getBridgedType()) { in CheckObjCBridgeCFCast() local 3700 if (Parm->isStr("id")) in CheckObjCBridgeCFCast() 3705 LookupResult R(S, DeclarationName(Parm), SourceLocation(), in CheckObjCBridgeCFCast()
|
D | SemaTemplateInstantiate.cpp | 512 NamedDecl *Parm = cast<NamedDecl>(Active->Entity); in PrintInstantiationStack() local 514 if (!Parm->getName().empty()) in PrintInstantiationStack() 515 Name = std::string(" '") + Parm->getName().str() + "'"; in PrintInstantiationStack() 526 << isa<TemplateTemplateParmDecl>(Parm) in PrintInstantiationStack()
|
D | SemaDeclAttr.cpp | 4437 IdentifierLoc * Parm = Attr.isArgIdent(0) ? Attr.getArgAsIdent(0) : nullptr; in handleObjCBridgeAttr() local 4439 if (!Parm) { in handleObjCBridgeAttr() 4446 if (!Parm->Ident->isStr("id")) { in handleObjCBridgeAttr() 4461 ObjCBridgeAttr(Attr.getRange(), S.Context, Parm->Ident, in handleObjCBridgeAttr() 4467 IdentifierLoc * Parm = Attr.isArgIdent(0) ? Attr.getArgAsIdent(0) : nullptr; in handleObjCBridgeMutableAttr() local 4469 if (!Parm) { in handleObjCBridgeMutableAttr() 4475 ObjCBridgeMutableAttr(Attr.getRange(), S.Context, Parm->Ident, in handleObjCBridgeMutableAttr()
|
D | SemaTemplateInstantiateDecl.cpp | 3258 ParmVarDecl *Parm = in SubstFunctionType() local 3260 if (!Parm) in SubstFunctionType() 3262 Params.push_back(Parm); in SubstFunctionType()
|
D | SemaStmt.cpp | 3407 SourceLocation RParen, Decl *Parm, in ActOnObjCAtCatchStmt() argument 3409 VarDecl *Var = cast_or_null<VarDecl>(Parm); in ActOnObjCAtCatchStmt()
|
D | SemaInit.cpp | 5537 ParmVarDecl *Parm = Constructor->getParamDecl(I); in CopyObject() local 5538 if (S.RequireCompleteType(Loc, Parm->getType(), in CopyObject() 5545 S.BuildCXXDefaultArgExpr(Loc, Constructor, Parm); in CopyObject()
|
D | SemaExpr.cpp | 5092 ParmVarDecl *Parm = in rewriteBuiltinFunctionDecl() local 5096 Parm->setScopeInfo(0, i); in rewriteBuiltinFunctionDecl() 5097 Params.push_back(Parm); in rewriteBuiltinFunctionDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5555 QualType Parm = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5558 cast<TemplateTypeParmType>(Parm), in readTypeRecord() 5564 QualType Parm = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5567 cast<TemplateTypeParmType>(Parm), in readTypeRecord()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 2700 for (const ParmVarDecl *Parm: FD->parameters()) in getFunctionForwardDeclaration() local 2701 ArgTypes.push_back(Parm->getType()); in getFunctionForwardDeclaration()
|