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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to