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@redhat.com>
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user