Lines Matching defs:Loc
419 /// declaration at location Loc. Returns true to indicate that this is
421 bool Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) {
431 Diag(Loc, diag::err_template_param_shadow)
534 SourceLocation Loc = ParamNameLoc;
536 Loc = KeyLoc;
540 KeyLoc, Loc, Depth, Position, ParamName,
568 if (DiagnoseUnexpandedParameterPack(Loc, DefaultTInfo,
590 Sema::CheckNonTypeTemplateParameterType(QualType T, SourceLocation Loc) {
594 Diag(Loc, diag::err_variably_modified_nontype_template_param)
630 Diag(Loc, diag::err_template_nontype_parm_bad_type)
4032 SourceLocation Loc) {
4051 SS.MakeTrivial(Context, Qualifier, Loc);
4063 Loc,
4068 RefExpr = CreateBuiltinUnaryOp(Loc, UO_AddrOf, RefExpr.get());
4090 ExprResult RefExpr = BuildDeclRefExpr(VD, T, VK_LValue, Loc);
4104 return CreateBuiltinUnaryOp(Loc, UO_AddrOf, RefExpr.get());
4118 return BuildDeclRefExpr(VD, T, VK, Loc);
4130 SourceLocation Loc) {
4137 T->isWideCharType(), T, Loc));
4141 T, Loc));
4144 return Owned(new (Context) CXXNullPtrLiteralExpr(Context.NullPtrTy, Loc));
4155 Expr *E = IntegerLiteral::Create(Context, *Arg.getAsIntegral(), BT, Loc);
4160 Context.getTrivialTypeSourceInfo(T, Loc),
4161 Loc, Loc);
4447 /// \param Loc the location of the explicit specialization or instantiation of
4458 SourceLocation Loc,
4474 S.Diag(Loc, diag::err_template_spec_unknown_kind);
4493 S.Diag(Loc, diag::err_template_spec_decl_function_scope)
4499 S.Diag(Loc, diag::err_template_spec_decl_class_scope)
4531 S.Diag(Loc, IsCPlusPlus0xExtension
4536 S.Diag(Loc, IsCPlusPlus0xExtension
4558 S.Diag(Loc, diag::err_template_spec_redecl_global_scope)
4561 S.Diag(Loc, diag::err_template_spec_redecl_out_of_scope)
6511 SourceLocation Loc = Using->getQualifierLoc().getBeginLoc();
6512 Diag(Loc, diag::note_using_value_decl_missing_typename)
6513 << FixItHint::CreateInsertion(Loc, "typename ");
6566 SourceLocation Loc;
6573 SourceLocation Loc,
6576 Loc(Loc), Entity(Entity) { }
6589 SourceLocation getBaseLocation() { return Loc; }
6596 void setBase(SourceLocation Loc, DeclarationName Entity) {
6597 this->Loc = Loc;
6630 SourceLocation Loc,
6635 CurrentInstantiationRebuilder Rebuilder(*this, Loc, Name);