[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Mon Oct 7 18:25:46 UTC 2019
compilerplugins/clang/empty.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9429864a3fce4dae1e6d9387a1747a338768f316
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Oct 7 13:47:54 2019 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Oct 7 20:24:56 2019 +0200
Fix function name, "revert" -> "reverse"
(See the discussion in the comments to
<https://gerrit.libreoffice.org/#/c/80317/> "fix various warnings in
compilerplugins".)
Change-Id: Ia6ba32206ddf44bba9bb5acdd929c0750c48cca9
Reviewed-on: https://gerrit.libreoffice.org/80372
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/compilerplugins/clang/empty.cxx b/compilerplugins/clang/empty.cxx
index 5cf5a023e54c..6ddbf2a84a2d 100644
--- a/compilerplugins/clang/empty.cxx
+++ b/compilerplugins/clang/empty.cxx
@@ -19,7 +19,7 @@
namespace
{
-BinaryOperatorKind revert(BinaryOperatorKind op)
+BinaryOperatorKind reverse(BinaryOperatorKind op)
{
switch (op)
{
@@ -177,7 +177,7 @@ private:
}
else if (auto const call = dyn_cast<CallExpr>(expr->getRHS()->IgnoreParenImpCasts()))
{
- visitComparison(expr, call, expr->getLHS(), revert(expr->getOpcode()));
+ visitComparison(expr, call, expr->getLHS(), reverse(expr->getOpcode()));
}
}
};
More information about the Libreoffice-commits
mailing list