Home | History | Annotate | Download | only in Sema

Lines Matching defs:Loc

649     SourceLocation Loc;
657 SourceLocation Loc,
659 : inherited(SemaRef), TemplateArgs(TemplateArgs), Loc(Loc),
670 SourceLocation getBaseLocation() { return Loc; }
677 void setBase(SourceLocation Loc, DeclarationName Entity) {
678 this->Loc = Loc;
735 Decl *TransformDecl(SourceLocation Loc, Decl *D);
739 Decl *TransformDefinition(SourceLocation Loc, Decl *D);
743 NamedDecl *TransformFirstQualifierInScope(NamedDecl *D, SourceLocation Loc);
806 SourceLocation loc,
818 getSema().MarkDeclarationsReferencedInType(Loc, T);
822 Decl *TemplateInstantiator::TransformDecl(SourceLocation Loc, Decl *D) {
857 return SemaRef.FindInstantiatedDecl(Loc, cast<NamedDecl>(D), TemplateArgs);
860 Decl *TemplateInstantiator::TransformDefinition(SourceLocation Loc, Decl *D) {
871 SourceLocation Loc) {
895 return cast_or_null<NamedDecl>(TransformDecl(Loc, D));
901 getSema().Diag(Loc, diag::err_nested_name_spec_non_tag) << T;
906 return cast_or_null<NamedDecl>(TransformDecl(Loc, D));
1091 SourceLocation loc,
1109 getSema().FindInstantiatedDecl(loc, VD, TemplateArgs));
1121 TemplateArgs, loc, parm->getDeclName());
1124 loc, parm->getDeclName());
1128 result = SemaRef.BuildExpressionFromDeclTemplateArgument(arg, type, loc);
1132 result = SemaRef.BuildExpressionFromIntegralTemplateArgument(arg, loc);
1144 loc, parm, resultExpr));
1318 /// \param Loc the location in the source code where this substitution
1334 SourceLocation Loc,
1344 TemplateInstantiator Instantiator(*this, Args, Loc, Entity);
1350 SourceLocation Loc,
1368 TemplateInstantiator Instantiator(*this, Args, Loc, Entity);
1381 SourceLocation Loc, DeclarationName Entity) {
1391 TemplateInstantiator Instantiator(*this, TemplateArgs, Loc, Entity);
1429 SourceLocation Loc,
1438 TemplateInstantiator Instantiator(*this, Args, Loc, Entity);
1535 bool Sema::SubstParmTypes(SourceLocation Loc,
1544 TemplateInstantiator Instantiator(*this, TemplateArgs, Loc,
1546 return Instantiator.TransformFunctionTypeParams(Loc, Params, NumParams, 0,
2257 TemplateName Name, SourceLocation Loc,
2259 TemplateInstantiator Instantiator(*this, TemplateArgs, Loc,
2263 return Instantiator.TransformTemplateName(SS, Name, Loc);