Home
last modified time | relevance | path

Searched refs:Parm (Results 1 – 20 of 20) sorted by relevance

/external/clang/lib/Index/
DIndexDecl.cpp57 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/
DInitialization.h205 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()
DAttributeList.h254 IdentifierLoc *Parm, const AvailabilityChange &introduced, in AttributeList() argument
267 ArgsUnion PVal(Parm); in AttributeList()
DSema.h3526 Decl *Parm, Stmt *Body);
/external/clang/include/clang/AST/
DASTContext.h193 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);
DDeclTemplate.h263 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/
DStmtProfile.cpp1648 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()
DMicrosoftMangle.cpp360 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()
DItaniumMangle.cpp1475 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()
DASTContext.cpp550 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 …]
DDeclBase.cpp182 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(this)) in isParameterPack() local
183 return Parm->isParameterPack(); in isParameterPack()
/external/clang/lib/Sema/
DSemaExprObjC.cpp3633 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()
DSemaTemplateInstantiate.cpp512 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()
DSemaDeclAttr.cpp4437 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()
DSemaTemplateInstantiateDecl.cpp3258 ParmVarDecl *Parm = in SubstFunctionType() local
3260 if (!Parm) in SubstFunctionType()
3262 Params.push_back(Parm); in SubstFunctionType()
DSemaStmt.cpp3407 SourceLocation RParen, Decl *Parm, in ActOnObjCAtCatchStmt() argument
3409 VarDecl *Var = cast_or_null<VarDecl>(Parm); in ActOnObjCAtCatchStmt()
DSemaInit.cpp5537 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()
DSemaExpr.cpp5092 ParmVarDecl *Parm = in rewriteBuiltinFunctionDecl() local
5096 Parm->setScopeInfo(0, i); in rewriteBuiltinFunctionDecl()
5097 Params.push_back(Parm); in rewriteBuiltinFunctionDecl()
/external/clang/lib/Serialization/
DASTReader.cpp5555 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/
DCGDebugInfo.cpp2700 for (const ParmVarDecl *Parm: FD->parameters()) in getFunctionForwardDeclaration() local
2701 ArgTypes.push_back(Parm->getType()); in getFunctionForwardDeclaration()