summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-10-13 17:17:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-10-13 19:23:18 +0200
commit3b35199a1b5e860b17ace504ae2e99248e37fc63 (patch)
treea90b180bc2248bd139be5bbb640da418abde6f13 /compilerplugins
parent917c7837001345fa2faee5ecd700ad2318eb8bca (diff)
Drop now-redundant %select
...after 3d236177be255b2027a997bfc12fe0833ca9a2f7 "Deduplicate O(U)StringConcatenation" Change-Id: Ib45d021da2bb5745055fa0cdebfd700680bfb787 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141304 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/stringview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/stringview.cxx b/compilerplugins/clang/stringview.cxx
index 16e53b1c12e9..6c1ec077bce5 100644
--- a/compilerplugins/clang/stringview.cxx
+++ b/compilerplugins/clang/stringview.cxx
@@ -269,7 +269,7 @@ void StringView::handleCXXConstructExpr(CXXConstructExpr const* expr)
"instead of an %0%select{| constructed from a %2}1, pass a"
" '%select{std::string_view|std::u16string_view}3'"
"%select{| (or an '%select{rtl::OStringChar|rtl::OUStringChar}3')|"
- " via '%select{rtl::Concat2View|rtl::Concat2View}3'}4",
+ " via 'rtl::Concat2View'}4",
expr->getExprLoc())
<< expr->getType() << (argType.isNull() ? 0 : 1) << argType
<< (loplugin::TypeCheck(expr->getType()).Class("OString").Namespace("rtl").GlobalNamespace()