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

References

tools/clang/lib/Sema/SemaDecl.cpp
17114   if (PrevDecl && PrevDecl->isTemplateParameter()) {
17114   if (PrevDecl && PrevDecl->isTemplateParameter()) {
17116     DiagnoseTemplateParameterShadow(IdLoc, PrevDecl);
17118     PrevDecl = nullptr;
17135   if (PrevDecl) {
17136     if (!TheEnumDecl->isScoped() && isa<ValueDecl>(PrevDecl)) {
17138       CheckShadow(New, PrevDecl, R);
17143     assert((getLangOpts().CPlusPlus || !isa<TagDecl>(PrevDecl)) &&
17145     if (!isa<TagDecl>(PrevDecl) && isDeclInScope(PrevDecl, CurContext, S)) {
17145     if (!isa<TagDecl>(PrevDecl) && isDeclInScope(PrevDecl, CurContext, S)) {
17146       if (isa<EnumConstantDecl>(PrevDecl))
17150       notePreviousDefinition(PrevDecl, IdLoc);