reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Parse/ParseDeclCXX.cpp
  793       D.Name.getKind() == UnqualifiedIdKind::IK_TemplateId)
  802       Range = SourceRange(D.Name.TemplateId->LAngleLoc,
  803                           D.Name.TemplateId->RAngleLoc);
  813   if (D.Name.getKind() != UnqualifiedIdKind::IK_Identifier) {
  814     Diag(D.Name.StartLocation, diag::err_alias_declaration_not_identifier);
  818   } else if (D.TypenameLoc.isValid())
  819     Diag(D.TypenameLoc, diag::err_alias_declaration_not_identifier)
  821                D.TypenameLoc,
  822                D.SS.isNotEmpty() ? D.SS.getEndLoc() : D.TypenameLoc));
  822                D.SS.isNotEmpty() ? D.SS.getEndLoc() : D.TypenameLoc));
  822                D.SS.isNotEmpty() ? D.SS.getEndLoc() : D.TypenameLoc));
  823   else if (D.SS.isNotEmpty())
  824     Diag(D.SS.getBeginLoc(), diag::err_alias_declaration_not_identifier)
  825       << FixItHint::CreateRemoval(D.SS.getRange());
  826   if (D.EllipsisLoc.isValid())
  827     Diag(D.EllipsisLoc, diag::err_alias_declaration_pack_expansion)
  828       << FixItHint::CreateRemoval(SourceRange(D.EllipsisLoc));
  851                                        UsingLoc, D.Name, Attrs, TypeAlias,