Author: brunoricci Date: Thu Apr 18 08:34:03 2019 New Revision: 358678 URL: http://llvm.org/viewvc/llvm-project?rev=358678&view=rev Log: [Sema][NFC] Mark DR705 (Suppressing argument-dependent lookup via parentheses) as done
It was supported since at least clang 3 so just mark it as done. Modified: cfe/trunk/test/CXX/drs/dr7xx.cpp Modified: cfe/trunk/test/CXX/drs/dr7xx.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/drs/dr7xx.cpp?rev=358678&r1=358677&r2=358678&view=diff ============================================================================== --- cfe/trunk/test/CXX/drs/dr7xx.cpp (original) +++ cfe/trunk/test/CXX/drs/dr7xx.cpp Thu Apr 18 08:34:03 2019 @@ -3,6 +3,19 @@ // RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +namespace dr705 { // dr705: yes + namespace N { + struct S {}; + void f(S); // expected-note {{declared here}} + } + + void g() { + N::S s; + f(s); // ok + (f)(s); // expected-error {{use of undeclared}} + } +} + namespace dr727 { // dr727: partial struct A { template<typename T> struct C; // expected-note 6{{here}} _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits