/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 | 231 IdentifierLoc *Parm, const AvailabilityChange &introduced, in AttributeList() argument 243 ArgsUnion PVal(Parm); in AttributeList()
|
D | Sema.h | 3206 Decl *Parm, Stmt *Body);
|
/external/clang/tools/libclang/ |
D | IndexDecl.cpp | 42 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in handleDeclarator() local 43 IndexCtx.handleVar(Parm); in handleDeclarator()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 186 TemplateTemplateParmDecl *Parm; variable 189 CanonicalTemplateTemplateParm(TemplateTemplateParmDecl *Parm) in CanonicalTemplateTemplateParm() argument 190 : Parm(Parm) { } in CanonicalTemplateTemplateParm() 192 TemplateTemplateParmDecl *getParam() const { return Parm; } in getParam() 194 void Profile(llvm::FoldingSetNodeID &ID) { Profile(ID, Parm); } in Profile() 197 TemplateTemplateParmDecl *Parm);
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 1400 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in VisitDecl() local 1408 VisitType(Parm->getType()); in VisitDecl() 1409 ID.AddInteger(Parm->getFunctionScopeDepth()); in VisitDecl() 1410 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
|
D | MicrosoftMangle.cpp | 311 const NamedDecl *Parm); 1144 const NamedDecl *Parm) { in mangleTemplateArg() argument 1207 if (isa<TemplateTypeParmDecl>(Parm) || in mangleTemplateArg() 1208 isa<TemplateTemplateParmDecl>(Parm)) in mangleTemplateArg() 1214 else if (isa<NonTypeTemplateParmDecl>(Parm)) in mangleTemplateArg() 1220 mangleTemplateArg(TD, PA, Parm); in mangleTemplateArg()
|
D | ItaniumMangle.cpp | 1171 if (const ParmVarDecl *Parm in mangleLocalName() local 1174 = dyn_cast<FunctionDecl>(Parm->getDeclContext())) { in mangleLocalName() 1176 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName() 1198 if (const ParmVarDecl *Parm in mangleLocalName() local 1201 = dyn_cast<FunctionDecl>(Parm->getDeclContext())) { in mangleLocalName() 1203 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
|
D | ASTContext.cpp | 548 TemplateTemplateParmDecl *Parm) { in Profile() argument 549 ID.AddInteger(Parm->getDepth()); in Profile() 550 ID.AddInteger(Parm->getPosition()); in Profile() 551 ID.AddBoolean(Parm->isParameterPack()); in Profile() 553 TemplateParameterList *Params = Parm->getTemplateParameters(); in Profile() 3116 ASTContext::getSubstTemplateTypeParmType(const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmType() argument 3122 SubstTemplateTypeParmType::Profile(ID, Parm, Replacement); in getSubstTemplateTypeParmType() 3129 SubstTemplateTypeParmType(Parm, Replacement); in getSubstTemplateTypeParmType() 3139 const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmPackType() argument 3149 SubstTemplateTypeParmPackType::Profile(ID, Parm, ArgPack); in getSubstTemplateTypeParmPackType() [all …]
|
D | DeclBase.cpp | 156 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(this)) in isParameterPack() local 157 return Parm->isParameterPack(); in isParameterPack()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 3351 if (IdentifierInfo *Parm = ObjCBAttr->getBridgedType()) { in CheckObjCBridgeNSCast() local 3353 if (Parm->isStr("id")) in CheckObjCBridgeNSCast() 3358 LookupResult R(S, DeclarationName(Parm), SourceLocation(), in CheckObjCBridgeNSCast() 3394 << castExpr->getType() << Parm; in CheckObjCBridgeNSCast() 3416 if (IdentifierInfo *Parm = ObjCBAttr->getBridgedType()) { in CheckObjCBridgeCFCast() local 3418 if (Parm->isStr("id")) in CheckObjCBridgeCFCast() 3423 LookupResult R(S, DeclarationName(Parm), SourceLocation(), in CheckObjCBridgeCFCast()
|
D | SemaTemplateInstantiate.cpp | 515 NamedDecl *Parm = cast<NamedDecl>(Active->Entity); in PrintInstantiationStack() local 517 if (!Parm->getName().empty()) in PrintInstantiationStack() 518 Name = std::string(" '") + Parm->getName().str() + "'"; in PrintInstantiationStack() 529 << isa<TemplateTemplateParmDecl>(Parm) in PrintInstantiationStack()
|
D | SemaDeclAttr.cpp | 3787 IdentifierLoc * Parm = Attr.isArgIdent(0) ? Attr.getArgAsIdent(0) : nullptr; in handleObjCBridgeAttr() local 3789 if (!Parm) { in handleObjCBridgeAttr() 3796 if (!Parm->Ident->isStr("id")) { in handleObjCBridgeAttr() 3811 ObjCBridgeAttr(Attr.getRange(), S.Context, Parm->Ident, in handleObjCBridgeAttr() 3817 IdentifierLoc * Parm = Attr.isArgIdent(0) ? Attr.getArgAsIdent(0) : nullptr; in handleObjCBridgeMutableAttr() local 3819 if (!Parm) { in handleObjCBridgeMutableAttr() 3825 ObjCBridgeMutableAttr(Attr.getRange(), S.Context, Parm->Ident, in handleObjCBridgeMutableAttr()
|
D | SemaTemplateInstantiateDecl.cpp | 3039 ParmVarDecl *Parm = in SubstFunctionType() local 3041 if (!Parm) in SubstFunctionType() 3043 Params.push_back(Parm); in SubstFunctionType()
|
D | SemaStmt.cpp | 3284 SourceLocation RParen, Decl *Parm, in ActOnObjCAtCatchStmt() argument 3286 VarDecl *Var = cast_or_null<VarDecl>(Parm); in ActOnObjCAtCatchStmt()
|
D | SemaInit.cpp | 5217 ParmVarDecl *Parm = Constructor->getParamDecl(I); in CopyObject() local 5218 if (S.RequireCompleteType(Loc, Parm->getType(), in CopyObject() 5225 S.BuildCXXDefaultArgExpr(Loc, Constructor, Parm); in CopyObject()
|
D | SemaExpr.cpp | 4677 ParmVarDecl *Parm = in rewriteBuiltinFunctionDecl() local 4681 Parm->setScopeInfo(0, i); in rewriteBuiltinFunctionDecl() 4682 Params.push_back(Parm); in rewriteBuiltinFunctionDecl()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 2401 for (const ParmVarDecl *Parm: FD->parameters()) in getFunctionForwardDeclaration() local 2402 ArgTypes.push_back(Parm->getType()); in getFunctionForwardDeclaration()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5571 QualType Parm = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5574 cast<TemplateTypeParmType>(Parm), in readTypeRecord() 5580 QualType Parm = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5583 cast<TemplateTypeParmType>(Parm), in readTypeRecord()
|