Skip to content

Commit a5c2af0

Browse files
committed
[NFC][MC][Decoder] Fix off-by-one indendation in generated code
1 parent f961b61 commit a5c2af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/DecoderEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,7 @@ static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,
20812081
OS << ") {\n";
20822082
if (HasCheckPredicate)
20832083
OS << " const FeatureBitset &Bits = STI.getFeatureBits();\n";
2084-
OS << " using namespace llvm::MCD;\n";
2084+
OS << " using namespace llvm::MCD;\n";
20852085

20862086
OS << R"(
20872087
const uint8_t *Ptr = DecodeTable;

0 commit comments

Comments
 (0)