We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b96d22 commit 7cc5e64Copy full SHA for 7cc5e64
llvm/lib/FileCheck/FileCheckImpl.h
@@ -51,7 +51,7 @@ struct ExpressionFormat {
51
};
52
53
private:
54
- Kind Value;
+ Kind Value = Kind::NoFormat;
55
unsigned Precision = 0;
56
/// printf-like "alternate form" selected.
57
bool AlternateForm = false;
@@ -78,7 +78,7 @@ struct ExpressionFormat {
78
/// \returns the format specifier corresponding to this format as a string.
79
StringRef toString() const;
80
81
- ExpressionFormat() : Value(Kind::NoFormat){};
+ ExpressionFormat() = default;
82
explicit ExpressionFormat(Kind Value) : Value(Value), Precision(0){};
83
explicit ExpressionFormat(Kind Value, unsigned Precision)
84
: Value(Value), Precision(Precision){};
0 commit comments