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

New commits:
commit 4fcbf4df8effc91b08d83922bfe0033f43aaa1f6
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Mon Dec 13 15:50:55 2021 +0100
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Mon Dec 13 16:48:21 2021 +0100

    Adapt CompilerTest_compilerplugins_clang
    
    ...to Clang 14 trunk
    
<https://github.com/llvm/llvm-project/commit/53219009aaebd2c26028c1df05550183a94c489c>
    "[clang][clangd] Desugar array type."
    
    Change-Id: I6b7e09e4789aa68a679affd7b3c6342409e66af8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126740
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <[email protected]>

diff --git a/compilerplugins/clang/test/stringliteralvar.cxx 
b/compilerplugins/clang/test/stringliteralvar.cxx
index 1389146b6222..6e181be025a8 100644
--- a/compilerplugins/clang/test/stringliteralvar.cxx
+++ b/compilerplugins/clang/test/stringliteralvar.cxx
@@ -81,7 +81,7 @@ void f8()
 
 void f9()
 {
-    // expected-error-re@+1 {{change type of variable 'literal' from constant 
character array ('const sal_Unicode{{ ?}}[3]') to OUStringLiteral 
[loplugin:stringliteralvar]}}
+    // expected-error-re@+1 {{change type of variable 'literal' from constant 
character array ('const sal_Unicode{{ ?}}[3]'{{( \(aka 'const 
char16_t\[3\]'\))?}}) to OUStringLiteral [loplugin:stringliteralvar]}}
     static sal_Unicode const literal[] = { 'f', 'o', 'o' };
     // expected-note@+1 {{first passed into a 'rtl::OUString' constructor here 
[loplugin:stringliteralvar]}}
     f(OUString(literal, SAL_N_ELEMENTS(literal)));
@@ -89,7 +89,7 @@ void f9()
 
 void f10()
 {
-    // expected-error-re@+1 {{change type of variable 'literal' from constant 
character array ('const sal_Unicode{{ ?}}[3]') to OUStringLiteral 
[loplugin:stringliteralvar]}}
+    // expected-error-re@+1 {{change type of variable 'literal' from constant 
character array ('const sal_Unicode{{ ?}}[3]'{{( \(aka 'const 
char16_t\[3\]'\))?}}) to OUStringLiteral [loplugin:stringliteralvar]}}
     static sal_Unicode const literal[] = { 'f', 'o', 'o' };
     // expected-note@+1 {{first passed into a 'rtl::OUString' constructor here 
[loplugin:stringliteralvar]}}
     f(OUString(literal, 3));

Reply via email to