diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-07 15:35:07 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-07 16:56:15 +0000 |
commit | bcd7674e06796d409aa85f77a011f701115bff17 (patch) | |
tree | c721e507848b6248a5e96c0119b5be3ea8a06778 | |
parent | c63c1a72dab96b0d090b2601eb1e7f40df2db534 (diff) | |
download | bcm5719-llvm-bcd7674e06796d409aa85f77a011f701115bff17.tar.gz bcm5719-llvm-bcd7674e06796d409aa85f77a011f701115bff17.zip |
AsmWriterOperand - fix uninitialized variable warning. NFCI.
-rw-r--r-- | llvm/utils/TableGen/AsmWriterInst.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/AsmWriterInst.h b/llvm/utils/TableGen/AsmWriterInst.h index 7d88e5a9d03..a59112efea4 100644 --- a/llvm/utils/TableGen/AsmWriterInst.h +++ b/llvm/utils/TableGen/AsmWriterInst.h @@ -36,7 +36,7 @@ namespace llvm { /// MiOpNo - For isMachineInstrOperand, this is the operand number of the /// machine instruction. - unsigned MIOpNo; + unsigned MIOpNo = 0; /// Str - For isLiteralTextOperand, this IS the literal text. For /// isMachineInstrOperand, this is the PrinterMethodName for the operand.. |