Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DInitialization.h183 ParmVarDecl *Parm) { in InitializeParameter() argument
184 return InitializeParameter(Context, Parm, Parm->getType()); in InitializeParameter()
190 ParmVarDecl *Parm, in InitializeParameter() argument
193 Parm->hasAttr<NSConsumedAttr>()); in InitializeParameter()
201 = (static_cast<uintptr_t>(Consumed) | reinterpret_cast<uintptr_t>(Parm)); in InitializeParameter()
DSema.h2778 Decl *Parm, Stmt *Body);
/external/clang/include/clang/AST/
DASTContext.h169 TemplateTemplateParmDecl *Parm; variable
172 CanonicalTemplateTemplateParm(TemplateTemplateParmDecl *Parm) in CanonicalTemplateTemplateParm() argument
173 : Parm(Parm) { } in CanonicalTemplateTemplateParm()
175 TemplateTemplateParmDecl *getParam() const { return Parm; } in getParam()
177 void Profile(llvm::FoldingSetNodeID &ID) { Profile(ID, Parm); } in Profile()
180 TemplateTemplateParmDecl *Parm);
/external/clang/tools/libclang/
DIndexDecl.cpp32 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in handleDeclarator() local
33 IndexCtx.handleVar(Parm); in handleDeclarator()
/external/clang/lib/AST/
DMicrosoftMangle.cpp1202 for (FunctionDecl::param_const_iterator Parm = D->param_begin(), in mangleType() local
1203 ParmEnd = D->param_end(); Parm != ParmEnd; ++Parm) { in mangleType()
1204 TypeSourceInfo *TSI = (*Parm)->getTypeSourceInfo(); in mangleType()
1205 QualType Type = TSI ? TSI->getType() : (*Parm)->getType(); in mangleType()
1206 mangleArgumentType(Type, (*Parm)->getSourceRange()); in mangleType()
DStmtProfile.cpp1091 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in VisitDecl() local
1099 VisitType(Parm->getType()); in VisitDecl()
1100 ID.AddInteger(Parm->getFunctionScopeDepth()); in VisitDecl()
1101 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
DASTContext.cpp464 TemplateTemplateParmDecl *Parm) { in Profile() argument
465 ID.AddInteger(Parm->getDepth()); in Profile()
466 ID.AddInteger(Parm->getPosition()); in Profile()
467 ID.AddBoolean(Parm->isParameterPack()); in Profile()
469 TemplateParameterList *Params = Parm->getTemplateParameters(); in Profile()
2865 ASTContext::getSubstTemplateTypeParmType(const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmType() argument
2871 SubstTemplateTypeParmType::Profile(ID, Parm, Replacement); in getSubstTemplateTypeParmType()
2878 SubstTemplateTypeParmType(Parm, Replacement); in getSubstTemplateTypeParmType()
2888 const TemplateTypeParmType *Parm, in getSubstTemplateTypeParmPackType() argument
2900 SubstTemplateTypeParmPackType::Profile(ID, Parm, ArgPack); in getSubstTemplateTypeParmPackType()
[all …]
DDeclPrinter.cpp651 if (ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) in VisitVarDecl() local
652 T = Parm->getOriginalType(); in VisitVarDecl()
DDeclBase.cpp149 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(this)) in isParameterPack() local
150 return Parm->isParameterPack(); in isParameterPack()
DItaniumMangle.cpp1281 if (const ParmVarDecl *Parm in mangleLocalName() local
1284 = dyn_cast<FunctionDecl>(Parm->getDeclContext())) { in mangleLocalName()
1286 unsigned Num = Func->getNumParams() - Parm->getFunctionScopeIndex(); in mangleLocalName()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp564 NamedDecl *Parm = cast<NamedDecl>(Active->Entity); in PrintInstantiationStack() local
566 if (!Parm->getName().empty()) in PrintInstantiationStack()
567 Name = std::string(" '") + Parm->getName().str() + "'"; in PrintInstantiationStack()
578 << isa<TemplateTemplateParmDecl>(Parm) in PrintInstantiationStack()
DSemaTemplateInstantiateDecl.cpp2418 ParmVarDecl *Parm = VisitParmVarDecl(OldProtoLoc.getArg(i)); in SubstFunctionType() local
2419 if (!Parm) in SubstFunctionType()
2421 Params.push_back(Parm); in SubstFunctionType()
DSemaStmt.cpp2596 SourceLocation RParen, Decl *Parm, in ActOnObjCAtCatchStmt() argument
2598 VarDecl *Var = cast_or_null<VarDecl>(Parm); in ActOnObjCAtCatchStmt()
DSemaInit.cpp4597 ParmVarDecl *Parm = Constructor->getParamDecl(I); in CopyObject() local
4598 if (S.RequireCompleteType(Loc, Parm->getType(), in CopyObject()
4605 S.BuildCXXDefaultArgExpr(Loc, Constructor, Parm); in CopyObject()
/external/clang/lib/Serialization/
DASTReader.cpp4546 QualType Parm = readType(*Loc.F, Record, Idx); in readTypeRecord() local
4549 Context.getSubstTemplateTypeParmType(cast<TemplateTypeParmType>(Parm), in readTypeRecord()
4555 QualType Parm = readType(*Loc.F, Record, Idx); in readTypeRecord() local
4558 cast<TemplateTypeParmType>(Parm), in readTypeRecord()