summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/empty.cxx4
1 files changed, 2 insertions, 2 deletions
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()));
}
}
};