Home | History | Annotate | Download | only in Sema

Lines Matching full:getlocation

82       S.AddAlignedAttr(Aligned->getLocation(), New, Result.getAs<Expr>(),
86 TemplateArgs, Aligned->getLocation(),
89 S.AddAlignedAttr(Aligned->getLocation(), New, Result,
115 SourceLocation EllipsisLoc = Aligned->getLocation();
154 S.Diag(A->getLocation(), diag::err_enable_if_never_constant_expr);
161 EnableIfAttr(A->getLocation(), S.getASTContext(), Cond,
217 LabelDecl *Inst = LabelDecl::Create(SemaRef.Context, Owner, D->getLocation(),
249 D->getLocation(), D->getDeclName());
255 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
278 D->getLocation(), D->getIdentifier(), DI);
281 D->getLocation(), D->getIdentifier(), DI);
297 NamedDecl *InstPrev = SemaRef.FindInstantiatedDecl(D->getLocation(), Prev,
356 = TypeAliasTemplateDecl::Create(SemaRef.Context, Owner, D->getLocation(),
394 SemaRef.Diag(D->getLocation(), diag::err_variable_instantiates_to_function)
405 D->getLocation(), D->getIdentifier(),
445 D->getLocation(), D->getDeclName());
456 SemaRef.Diag(D->getLocation(), diag::err_field_instantiates_to_function)
461 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
484 D->getLocation(),
526 SemaRef.Diag(D->getLocation(), diag::err_property_is_variably_modified)
531 D->getLocation(), D->getDeclName());
542 SemaRef.Diag(D->getLocation(), diag::err_field_instantiates_to_function)
547 SemaRef.MarkDeclarationsReferencedInType(D->getLocation(), DI->getType());
551 SemaRef.Context, Owner, D->getLocation(), D->getDeclName(), DI->getType(),
572 NamedDecl *Next = SemaRef.FindInstantiatedDecl(D->getLocation(), PI,
582 = IndirectFieldDecl::Create(SemaRef.Context, Owner, D->getLocation(),
606 D->getLocation(), DeclarationName());
633 FriendDecl::Create(SemaRef.Context, Owner, D->getLocation(),
653 return SemaRef.BuildStaticAssertDeclaration(D->getLocation(),
663 NamedDecl *Prev = SemaRef.FindInstantiatedDecl(D->getLocation(),
671 D->getLocation(), D->getIdentifier(),
712 SemaRef.CheckEnumRedeclaration(Def->getLocation(), Def->isScoped(),
737 Enum->setLocation(Pattern->getLocation());
762 EC->getLocation(), EC->getIdentifier(),
789 SemaRef.ActOnEnumBody(Enum->getLocation(), SourceLocation(),
847 DC = SemaRef.FindInstantiatedContext(Pattern->getLocation(),
854 LookupResult R(SemaRef, Pattern->getDeclName(), Pattern->getLocation(),
865 SemaRef.Diag(Pattern->getLocation(), diag::err_not_tag_in_scope)
920 Pattern->getLocStart(), Pattern->getLocation(),
928 = ClassTemplateDecl::Create(SemaRef.Context, DC, D->getLocation(),
1033 SemaRef.Context, DC, D->getLocation(), D->getIdentifier(), InstParams,
1142 NamedDecl *Prev = SemaRef.FindInstantiatedDecl(D->getLocation(),
1151 D->getLocStart(), D->getLocation(),
1188 SemaRef.InstantiateClass(D->getLocation(), Record, D, TemplateArgs,
1191 SemaRef.InstantiateClassMembers(D->getLocation(), Record, TemplateArgs,
1279 DC = SemaRef.FindInstantiatedContext(D->getLocation(), D->getDeclContext(),
1331 Function->getLocation(),
1389 Decl *Temp = SemaRef.FindInstantiatedDecl(D->getLocation(),
1444 SemaRef.Diag(Function->getLocation(), diag::err_redefinition)
1446 SemaRef.Diag(Definition->getLocation(), diag::note_previous_definition);
1460 SourceLocation Loc = R->getLocation(); // FIXME
1475 SemaRef.Diag(Function->getLocation(), diag::err_redefinition)
1477 SemaRef.Diag(R->getLocation(), diag::note_previous_definition);
1566 DC = SemaRef.FindInstantiatedContext(D->getLocation(),
1598 Sema::InstantiatingTemplate Inst(SemaRef, Constructor->getLocation(),
1657 Method->getLocation(),
1735 SemaRef.SetDeclDefaulted(Method, Method->getLocation());
1737 SemaRef.SetDeclDeleted(Method, Method->getLocation());
1790 D->getLocStart(), D->getLocation(),
1831 D->getLocation(),
1838 D->getLocation());
1875 D->getLocation(),
1883 D->getLocation());
1900 D->getLocation(),
1915 D->getLocation(), D->getDeclName());
1921 D->getLocation());
1932 D->getLocation(),
1943 D->getLocation(),
2022 if (SemaRef.CheckParameterPacksForExpansion(D->getLocation(),
2068 D->getLocation(),
2075 D->getLocation(),
2109 = UsingDirectiveDecl::Create(SemaRef.Context, Owner, D->getLocation(),
2167 D->getLocation(), Prev))
2174 D->getLocation()))
2196 Shadow->getLocation(), Shadow->getTargetDecl(), TemplateArgs));
2206 Shadow->getLocation(), OldPrev, TemplateArgs));
2239 DeclarationNameInfo NameInfo(D->getDeclName(), D->getLocation());
2317 SemaRef.CheckOMPThreadPrivateDecl(D->getLocation(), Vars);
2376 D->getLocation(),
2392 SemaRef.CheckSpecializationInstantiationRedecl(D->getLocation(),
2414 SemaRef.Diag(D->getLocation(), diag::err_redefinition) << PrevDecl;
2415 SemaRef.Diag(PrevDecl->getDefinition()->getLocation(),
2426 D->getLocation(),
2455 TemplateName(InstClassTemplate), D->getLocation(), InstTemplateArgs,
2471 SemaRef.InstantiateClass(D->getLocation(), InstD, D, TemplateArgs,
2536 SemaRef.Diag(D->getLocation(), diag::err_variable_instantiates_to_function)
2543 SemaRef.Context, Owner, D->getInnerLocStart(), D->getLocation(),
2569 SemaRef.Diag(D->getLocation(), DiagID)
2663 PartialSpec->getLocation(),
2692 PartialSpec->getLocation(),
2712 SemaRef.Diag(PartialSpec->getLocation(), diag::err_partial_spec_redeclared)
2714 SemaRef.Diag(PrevDecl->getLocation(), diag::note_prev_partial_spec_here)
2726 PartialSpec->getLocation(),
2789 if (SemaRef.CheckTemplateArgumentList(VarTemplate, PartialSpec->getLocation(),
2812 TemplateName(VarTemplate), PartialSpec->getLocation(), InstTemplateArgs,
2831 SemaRef.Diag(PartialSpec->getLocation(),
2834 SemaRef.Diag(PrevDecl->getLocation(),
2847 SemaRef.Diag(PartialSpec->getLocation(),
2857 PartialSpec->getLocation(), InstParams, VarTemplate, DI->getType(),
2944 D, D->getLocation(), OldProto->getParamType(i)));
2967 if (SemaRef.SubstParmTypes(D->getLocation(), D->param_begin(),
3059 if (SemaRef.CheckParameterPacksForExpansion(New->getLocation(),
3075 New->getLocation(), New->getDeclName());
3091 New->getLocation(), New->getDeclName());
3108 New->getLocation(), New->getDeclName());
3110 SemaRef.CheckSpecifiedExceptionType(T, New->getLocation()))
3351 Diag(PatternDecl->getLocation(),
3418 SetDeclDefaulted(Function, PatternDecl->getLocation());
3604 *this, NewVar->getDeclName(), NewVar->getLocation(),
3615 NewVar->getLocation(), OldVar->getPreviousDecl(), TemplateArgs))
3864 Diag(PatternDecl->getLocation(),
3957 LookupResult R(*this, Var->getDeclName(), Var->getLocation(),
4578 Diag(D->getLocation(), diag::note_non_instantiated_member_here);
4591 Diag(Spec->getLocation(), diag::note_enum_specialized_here)