[llvm] r186929 - Remove 'else' after 'return'. No functional change.
Craig Topper
craig.topper at gmail.com
Mon Jul 22 23:27:36 PDT 2013
Author: ctopper
Date: Tue Jul 23 01:27:36 2013
New Revision: 186929
URL: http://llvm.org/viewvc/llvm-project?rev=186929&view=rev
Log:
Remove 'else' after 'return'. No functional change.
Modified:
llvm/trunk/utils/TableGen/AsmWriterInst.cpp
Modified: llvm/trunk/utils/TableGen/AsmWriterInst.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/AsmWriterInst.cpp?rev=186929&r1=186928&r2=186929&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/AsmWriterInst.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmWriterInst.cpp Tue Jul 23 01:27:36 2013
@@ -226,8 +226,7 @@ unsigned AsmWriterInst::MatchesAllButOne
if (Operands[i] != Other.Operands[i]) {
if (MismatchOperand != ~0U) // Already have one mismatch?
return ~1U;
- else
- MismatchOperand = i;
+ MismatchOperand = i;
}
}
return MismatchOperand;
More information about the llvm-commits
mailing list