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

References

tools/clang/lib/Sema/SemaTemplate.cpp
 7477   else if (isa<EnumDecl>(Specialized) && S.getLangOpts().CPlusPlus11)
 7480     S.Diag(Loc, diag::err_template_spec_unknown_kind)
 7481       << S.getLangOpts().CPlusPlus11;
 7482     S.Diag(Specialized->getLocation(), diag::note_specialized_entity);
 7489   if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) {
 7490     S.Diag(Loc, diag::err_template_spec_decl_function_scope)
 7500   DeclContext *DC = S.CurContext->getRedeclContext();
 7507       S.Diag(Loc, diag::err_template_spec_redecl_global_scope)
 7512       if (S.getLangOpts().MicrosoftExt && !DC->isRecord())
 7514       S.Diag(Loc, Diag) << EntityKind << Specialized
 7518     S.Diag(Specialized->getLocation(), diag::note_specialized_entity);