mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
X86Operand.h - fix uninitialized variable warnings in constructor. NFCI.
This commit is contained in:
parent
7d37c257aa
commit
1271ac390e
@ -78,7 +78,8 @@ struct X86Operand final : public MCParsedAsmOperand {
|
||||
};
|
||||
|
||||
X86Operand(KindTy K, SMLoc Start, SMLoc End)
|
||||
: Kind(K), StartLoc(Start), EndLoc(End), CallOperand(false) {}
|
||||
: Kind(K), StartLoc(Start), EndLoc(End), OpDecl(nullptr),
|
||||
AddressOf(false), CallOperand(false) {}
|
||||
|
||||
StringRef getSymName() override { return SymName; }
|
||||
void *getOpDecl() override { return OpDecl; }
|
||||
|
Loading…
Reference in New Issue
Block a user