[PATCH] D142315: [clang] Add test for CWG1111

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 23 08:08:37 PST 2023


erichkeane added a comment.

I didn't internalize that it was 'just a warning' (it was a -error in the test above), we should have a task for someone to remove that warning as it is no longer ambiguous.  But I don't think it makes it 'partial' here anymore.



================
Comment at: clang/test/CXX/drs/dr11xx.cpp:1
-// RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
+// RUN: %clang_cc1 -std=c++98 %s -verify=expected,cxx98 -fexceptions -fcxx-exceptions -pedantic-errors
 // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
----------------
I see what happened now: Add `-Wno-error=ambiguous-member-template` to this line.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142315/new/

https://reviews.llvm.org/D142315



More information about the cfe-commits mailing list