erichkeane accepted this revision. erichkeane added a comment. This revision is now accepted and ready to land.
No release note needed, as this is a regression, but thanks for putting this together! ================ Comment at: clang/lib/Sema/SemaConcept.cpp:783 return true; - if (Old && New && Old != New) { + if (Old && New && Old != New && + Old->getLexicalDeclContext() != New->getLexicalDeclContext()) { ---------------- Please put the standards quote that supports this here, it'll be really useful in the future.(temp.constr.decl p4) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D150730/new/ https://reviews.llvm.org/D150730 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits