aaron.ballman added a reviewer: hubert.reinterpretcast.
aaron.ballman added a comment.
Adding Hubert for his C++ conformance opinion.
================
Comment at: clang/test/CXX/drs/dr0xx.cpp:454
+
+namespace dr36 { // dr36: yes
+namespace example1 {
----------------
It took me a while to convince myself, but yes, I agree that Clang seems to
implement the DR. I had to go back to P1787 to figure that out, but the key bit
of new wording is:
> If a declaration named by a using-declaration that inhabits the target scope
> of another declaration potentially conflicts with it ([basic.scope.scope])
> and either is reachable from the other, the program is ill-formed. If two
> declarations named by using-declarationâ s that inhabit the same scope
> potentially conflict, either is reachable from the other, and they do not
> both declare functions or function templates, the program is ill-formed.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138822/new/
https://reviews.llvm.org/D138822
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits