Lines Matching defs:NameLoc
59 SourceLocation NameLoc,
89 Context.getTrivialTypeSourceInfo(Type, NameLoc));
93 SourceLocation NameLoc,
137 DiagnoseUseOfDecl(InjectedClassName, NameLoc);
138 MarkAnyDeclReferenced(NameLoc, InjectedClassName, /*OdrUse=*/false);
143 ParsedType Sema::getDestructorName(IdentifierInfo &II, SourceLocation NameLoc,
226 Diag(NameLoc, diag::ext_dtor_name_ambiguous);
251 Context.getTrivialTypeSourceInfo(T, NameLoc));
266 LookupResult Found(*this, &II, NameLoc, LookupDestructorName);
283 LookupResult Found(*this, &II, NameLoc, LookupDestructorName);
296 LookupResult Found(*this, &II, NameLoc, LookupDestructorName);
369 SS.getWithLocInContext(Context), II, NameLoc);
430 return FixItHint::CreateReplacement(SourceRange(NameLoc),
437 Diag(NameLoc, diag::err_undeclared_destructor_name)
444 Diag(NameLoc, diag::err_destructor_expr_type_mismatch)
447 Diag(NameLoc, diag::err_destructor_expr_nontype)
451 Diag(NameLoc, SearchType.isNull() ? diag::err_destructor_name_nontype
8993 SourceLocation NameLoc, IdentifierInfo *TypeName,
9001 SS.getWithLocInContext(Context), *TypeName, NameLoc,