aaron.ballman added inline comments.
================ Comment at: lib/Sema/SemaDecl.cpp:16607 + // Check for other kinds of shadowing not already handled. + if (PrevDecl && isa<ValueDecl>(PrevDecl->getUnderlyingDecl()) && + !TheEnumDecl->isScoped()) ---------------- Is the change to `PrevDecl->getUnderlyingDecl()` intended here? Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D60956/new/ https://reviews.llvm.org/D60956 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits