We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 216dab9 commit cca01c0Copy full SHA for cca01c0
llvm/utils/TableGen/CodeGenInstruction.h
@@ -29,10 +29,11 @@ template <typename T> class ArrayRef;
29
class CGIOperandList {
30
public:
31
class ConstraintInfo {
32
- enum { None, EarlyClobber, Tied } Kind;
33
- unsigned OtherTiedOperand;
+ enum { None, EarlyClobber, Tied } Kind = None;
+ unsigned OtherTiedOperand = 0;
34
+
35
- ConstraintInfo() : Kind(None) {}
36
+ ConstraintInfo() = default;
37
38
static ConstraintInfo getEarlyClobber() {
39
ConstraintInfo I;
@@ -332,9 +333,9 @@ template <typename T> class ArrayRef;
332
333
struct ResultOperand {
334
private:
335
std::string Name;
- Record *R;
336
+ Record *R = nullptr;
337
+ int64_t Imm = 0;
338
- int64_t Imm;
339
340
enum {
341
K_Record,
0 commit comments