Home
last modified time | relevance | path

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

/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.h231 IdentifierLoc *Parm, const AvailabilityChange &introduced, in AttributeList() argument
243 ArgsUnion PVal(Parm); in AttributeList()
DSema.h3206 Decl *Parm, Stmt *Body);
/external/clang/tools/libclang/
DIndexDecl.cpp42 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) { in handleDeclarator() local
43 IndexCtx.handleVar(Parm); in handleDeclarator()
/external/clang/include/clang/AST/
DASTContext.h186 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/
DStmtProfile.cpp1400 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()
DMicrosoftMangle.cpp311 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()
DItaniumMangle.cpp1171 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()
DASTContext.cpp548 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 …]
DDeclBase.cpp156 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(this)) in isParameterPack() local
157 return Parm->isParameterPack(); in isParameterPack()
/external/clang/lib/Sema/
DSemaExprObjC.cpp3351 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()
DSemaTemplateInstantiate.cpp515 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()
DSemaDeclAttr.cpp3787 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()
DSemaTemplateInstantiateDecl.cpp3039 ParmVarDecl *Parm = in SubstFunctionType() local
3041 if (!Parm) in SubstFunctionType()
3043 Params.push_back(Parm); in SubstFunctionType()
DSemaStmt.cpp3284 SourceLocation RParen, Decl *Parm, in ActOnObjCAtCatchStmt() argument
3286 VarDecl *Var = cast_or_null<VarDecl>(Parm); in ActOnObjCAtCatchStmt()
DSemaInit.cpp5217 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()
DSemaExpr.cpp4677 ParmVarDecl *Parm = in rewriteBuiltinFunctionDecl() local
4681 Parm->setScopeInfo(0, i); in rewriteBuiltinFunctionDecl()
4682 Params.push_back(Parm); in rewriteBuiltinFunctionDecl()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2401 for (const ParmVarDecl *Parm: FD->parameters()) in getFunctionForwardDeclaration() local
2402 ArgTypes.push_back(Parm->getType()); in getFunctionForwardDeclaration()
/external/clang/lib/Serialization/
DASTReader.cpp5571 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()