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

New commits:
commit 2a9ea3c978f039d8ed9689f925860d07fbb4b717
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon May 4 12:01:36 2020 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon May 4 14:33:00 2020 +0200

    Adapt test code to Clang 11 trunk change
    
    ...<https://github.com/llvm/llvm-project/commit/
    159a9f7e76307734bcdcae3357640e42e0733194> "[AST] Print a<b<c>> without extra
    spaces in C++11 or later."
    
    Change-Id: Ic8a2ab1ee9082e150cf0ebe1f6538a1a1deb7853
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93409
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/compilerplugins/clang/test/makeshared.cxx 
b/compilerplugins/clang/test/makeshared.cxx
index 8833928e8c18..1ecb8192c7ce 100644
--- a/compilerplugins/clang/test/makeshared.cxx
+++ b/compilerplugins/clang/test/makeshared.cxx
@@ -54,9 +54,9 @@ void test2()
     (void)y;
 
     std::unique_ptr<int> u1;
-    // expected-error-re@+1 {{rather use make_shared than constructing from 
{{.+}} (aka 'std::unique_ptr<int, std::default_delete<int> >') 
[loplugin:makeshared]}}
+    // expected-error-re@+1 {{rather use make_shared than constructing from 
{{.+}} (aka 'std::unique_ptr<int, std::default_delete<int>{{ ?}}>') 
[loplugin:makeshared]}}
     std::shared_ptr<int> z = std::move(u1);
-    // expected-error-re@+1 {{rather use make_shared than constructing from 
{{.+}} (aka 'std::unique_ptr<int, std::default_delete<int> >') 
[loplugin:makeshared]}}
+    // expected-error-re@+1 {{rather use make_shared than constructing from 
{{.+}} (aka 'std::unique_ptr<int, std::default_delete<int>{{ ?}}>') 
[loplugin:makeshared]}}
     z = std::move(u1);
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to