diff options
Diffstat (limited to 'compilerplugins/clang/test/elidestringvar.cxx')
-rw-r--r-- | compilerplugins/clang/test/elidestringvar.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/compilerplugins/clang/test/elidestringvar.cxx b/compilerplugins/clang/test/elidestringvar.cxx index 1835c183bb39..3e8e6592bbae 100644 --- a/compilerplugins/clang/test/elidestringvar.cxx +++ b/compilerplugins/clang/test/elidestringvar.cxx @@ -14,25 +14,25 @@ OUString f(sal_Unicode c, int n) { OUString s1(c); - // expected-note@+1 {{literal OUString variable defined here [loplugin:elidestringvar]}} + // expected-note@+1 {{literal 'rtl::OUString' variable defined here [loplugin:elidestringvar]}} OUString s2('a'); - // expected-note@+1 {{literal OUString variable defined here [loplugin:elidestringvar]}} + // expected-note@+1 {{literal 'rtl::OUString' variable defined here [loplugin:elidestringvar]}} OUString s3(u'a'); static constexpr OUStringLiteral s4lit(u"a"); - // expected-note@+1 {{literal OUString variable defined here [loplugin:elidestringvar]}} + // expected-note@+1 {{literal 'rtl::OUString' variable defined here [loplugin:elidestringvar]}} OUString s4 = s4lit; switch (n) { case 1: return s1; case 2: - // expected-error@+1 {{replace single use of literal OUString variable with a literal [loplugin:elidestringvar]}} + // expected-error@+1 {{replace single use of literal 'rtl::OUString' variable with a literal [loplugin:elidestringvar]}} return s2; case 3: - // expected-error@+1 {{replace single use of literal OUString variable with a literal [loplugin:elidestringvar]}} + // expected-error@+1 {{replace single use of literal 'rtl::OUString' variable with a literal [loplugin:elidestringvar]}} return s3; default: - // expected-error@+1 {{replace single use of literal OUString variable with a literal [loplugin:elidestringvar]}} + // expected-error@+1 {{replace single use of literal 'rtl::OUString' variable with a literal [loplugin:elidestringvar]}} return s4; } } |