/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 | 3442 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 | 188 TemplateTemplateParmDecl *Parm; variable 191 CanonicalTemplateTemplateParm(TemplateTemplateParmDecl *Parm) in CanonicalTemplateTemplateParm() argument 192 : Parm(Parm) { } in CanonicalTemplateTemplateParm() 194 TemplateTemplateParmDecl *getParam() const { return Parm; } in getParam() 196 void Profile(llvm::FoldingSetNodeID &ID) { Profile(ID, Parm); } in Profile() 199 TemplateTemplateParmDecl *Parm);
|
D | DeclTemplate.h | 266 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg() argument 267 const DefaultArgStorage &Storage = Parm->getDefaultArgStorage(); in getParmOwningDefaultArg() 269 Parm = Prev; in getParmOwningDefaultArg() 270 assert(!Parm->getDefaultArgStorage() in getParmOwningDefaultArg() 273 return Parm; in getParmOwningDefaultArg() 1234 NonTypeTemplateParmDecl *Parm) { 1235 DefaultArgument.setInherited(C, Parm);
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 1528 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in VisitDecl() local 1536 VisitType(Parm->getType()); in VisitDecl() 1537 ID.AddInteger(Parm->getFunctionScopeDepth()); in VisitDecl() 1538 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
|
D | MicrosoftMangle.cpp | 318 const NamedDecl *Parm); 1180 const NamedDecl *Parm) { in mangleTemplateArg() argument 1259 if (isa<TemplateTypeParmDecl>(Parm) || in mangleTemplateArg() 1260 isa<TemplateTemplateParmDecl>(Parm)) in mangleTemplateArg() 1267 else if (isa<NonTypeTemplateParmDecl>(Parm)) in mangleTemplateArg() 1273 mangleTemplateArg(TD, PA, Parm); in mangleTemplateArg()
|
D | ItaniumMangle.cpp | 1168 if (const ParmVarDecl *Parm in mangleLocalName() local 1171 = dyn_cast<FunctionDecl>(Parm->getDeclContext())) { in mangleLocalName() 1173 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName() 1195 if (const ParmVarDecl *Parm in mangleLocalName() local 1198 = dyn_cast<FunctionDecl>(Parm->getDeclContext())) { in mangleLocalName() 1200 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
|
D | ASTContext.cpp | 549 TemplateTemplateParmDecl *Parm) { in Profile() argument 550 ID.AddInteger(Parm->getDepth()); in Profile() 551 ID.AddInteger(Parm->getPosition()); in Profile() 552 ID.AddBoolean(Parm->isParameterPack()); in Profile() 554 TemplateParameterList *Params = Parm->getTemplateParameters(); in Profile() 3238 ASTContext::getSubstTemplateTypeParmType(const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmType() argument 3244 SubstTemplateTypeParmType::Profile(ID, Parm, Replacement); in getSubstTemplateTypeParmType() 3251 SubstTemplateTypeParmType(Parm, Replacement); in getSubstTemplateTypeParmType() 3261 const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmPackType() argument 3271 SubstTemplateTypeParmPackType::Profile(ID, Parm, ArgPack); in getSubstTemplateTypeParmPackType() [all …]
|
D | DeclBase.cpp | 181 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(this)) in isParameterPack() local 182 return Parm->isParameterPack(); in isParameterPack()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 3602 if (IdentifierInfo *Parm = ObjCBAttr->getBridgedType()) { in CheckObjCBridgeNSCast() local 3604 if (Parm->isStr("id")) in CheckObjCBridgeNSCast() 3609 LookupResult R(S, DeclarationName(Parm), SourceLocation(), in CheckObjCBridgeNSCast() 3645 << castExpr->getType() << Parm; in CheckObjCBridgeNSCast() 3667 if (IdentifierInfo *Parm = ObjCBAttr->getBridgedType()) { in CheckObjCBridgeCFCast() local 3669 if (Parm->isStr("id")) in CheckObjCBridgeCFCast() 3674 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 | 4194 IdentifierLoc * Parm = Attr.isArgIdent(0) ? Attr.getArgAsIdent(0) : nullptr; in handleObjCBridgeAttr() local 4196 if (!Parm) { in handleObjCBridgeAttr() 4203 if (!Parm->Ident->isStr("id")) { in handleObjCBridgeAttr() 4218 ObjCBridgeAttr(Attr.getRange(), S.Context, Parm->Ident, in handleObjCBridgeAttr() 4224 IdentifierLoc * Parm = Attr.isArgIdent(0) ? Attr.getArgAsIdent(0) : nullptr; in handleObjCBridgeMutableAttr() local 4226 if (!Parm) { in handleObjCBridgeMutableAttr() 4232 ObjCBridgeMutableAttr(Attr.getRange(), S.Context, Parm->Ident, in handleObjCBridgeMutableAttr()
|
D | SemaTemplateInstantiateDecl.cpp | 3102 ParmVarDecl *Parm = in SubstFunctionType() local 3104 if (!Parm) in SubstFunctionType() 3106 Params.push_back(Parm); in SubstFunctionType()
|
D | SemaStmt.cpp | 3334 SourceLocation RParen, Decl *Parm, in ActOnObjCAtCatchStmt() argument 3336 VarDecl *Var = cast_or_null<VarDecl>(Parm); in ActOnObjCAtCatchStmt()
|
D | SemaInit.cpp | 5420 ParmVarDecl *Parm = Constructor->getParamDecl(I); in CopyObject() local 5421 if (S.RequireCompleteType(Loc, Parm->getType(), in CopyObject() 5428 S.BuildCXXDefaultArgExpr(Loc, Constructor, Parm); in CopyObject()
|
D | SemaExpr.cpp | 4841 ParmVarDecl *Parm = in rewriteBuiltinFunctionDecl() local 4845 Parm->setScopeInfo(0, i); in rewriteBuiltinFunctionDecl() 4846 Params.push_back(Parm); in rewriteBuiltinFunctionDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5522 QualType Parm = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5525 cast<TemplateTypeParmType>(Parm), in readTypeRecord() 5531 QualType Parm = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5534 cast<TemplateTypeParmType>(Parm), in readTypeRecord()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 2506 for (const ParmVarDecl *Parm: FD->parameters()) in getFunctionForwardDeclaration() local 2507 ArgTypes.push_back(Parm->getType()); in getFunctionForwardDeclaration()
|