[llvm] r339906 - [MC] Cleanup noop default case spelling. NFC.
Nirav Dave via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 16 10:22:31 PDT 2018
Author: niravd
Date: Thu Aug 16 10:22:31 2018
New Revision: 339906
URL: http://llvm.org/viewvc/llvm-project?rev=339906&view=rev
Log:
[MC] Cleanup noop default case spelling. NFC.
Modified:
llvm/trunk/lib/MC/MCExpr.cpp
Modified: llvm/trunk/lib/MC/MCExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCExpr.cpp?rev=339906&r1=339905&r2=339906&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCExpr.cpp (original)
+++ llvm/trunk/lib/MC/MCExpr.cpp Thu Aug 16 10:22:31 2018
@@ -762,7 +762,7 @@ bool MCExpr::evaluateAsRelocatableImpl(M
case MCBinaryExpr::NE:
Res = MCValue::get((R->isEqualTo(R)) ? 0 : -1);
return true;
- default: {}
+ default: break;
}
}
return false;
More information about the llvm-commits
mailing list