compilerplugins/clang/test/ostr.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c3c56b85605555e32fa09f6437c755d841152cf3
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Nov 8 14:02:40 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Nov 8 18:57:55 2023 +0100

    Adapt expected diagnostic output to clang-cl and the MSVC standard library
    
    Change-Id: Ie416e4170280b9f05ecac359655e71f65a525592
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159131
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/compilerplugins/clang/test/ostr.cxx 
b/compilerplugins/clang/test/ostr.cxx
index d8ad56201ec3..c481fa06ea07 100644
--- a/compilerplugins/clang/test/ostr.cxx
+++ b/compilerplugins/clang/test/ostr.cxx
@@ -85,9 +85,9 @@ void f()
 
 void passLiteral()
 {
-    // expected-error@+1 {{directly use a 'std::string' (aka 
'basic_string<char>') value instead of a _ostr user-defined string literal 
[loplugin:ostr]}}
+    // expected-error-re@+1 {{directly use a 'std::string' (aka 
'basic_string<char{{(, char_traits<char>, allocator<char>)?}}>') value instead 
of a _ostr user-defined string literal [loplugin:ostr]}}
     takeStdString(std::string(""_ostr));
-    // expected-error@+1 {{directly use a 'std::u16string' (aka 
'basic_string<char16_t>') value instead of a _ustr user-defined string literal 
[loplugin:ostr]}}
+    // expected-error-re@+1 {{directly use a 'std::u16string' (aka 
'basic_string<char16_t{{(, char_traits<char16_t>, allocator<char16_t>)?}}>') 
value instead of a _ustr user-defined string literal [loplugin:ostr]}}
     takeStdString(std::u16string(u""_ustr));
     // expected-error@+1 {{directly use a 'std::string_view' (aka 
'basic_string_view<char>') value instead of a _ostr user-defined string literal 
[loplugin:ostr]}}
     takeStdView(""_ostr);

Reply via email to