[PATCH] D104500: [clang] Apply P1825 as Defect Report from C++11 up to C++20.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 30 14:22:58 PDT 2021


rsmith added inline comments.


================
Comment at: clang/test/CXX/class/class.init/class.copy.elision/p3.cpp:435
+};
+A test1(B x) { return x; } // cxx98-error {{conversion}} {{is ambiguous}}
+
----------------
The "{{is ambiguous}}" here is not part of the expected-error and will be ignored. If you want to ignore the text in between those two strings, you can do that with `// cxx98-error-re {{conversion {{.*}} is ambiguous}}` or similar. (The `-re` enables regular expression checking, and the nested `{{...}}` switches to regular expression matching rather than literal matching.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104500



More information about the cfe-commits mailing list