Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mlir/lib/Query/Matcher/VariantValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ void VariantValue::setSigned(int64_t newValue) {
// Boolean
bool VariantValue::isBoolean() const { return type == ValueType::Boolean; }

bool VariantValue::getBoolean() const { return value.Signed; }
bool VariantValue::getBoolean() const { return value.Boolean; }

void VariantValue::setBoolean(bool newValue) {
type = ValueType::Boolean;
value.Signed = newValue;
value.Boolean = newValue;
}

bool VariantValue::isString() const { return type == ValueType::String; }
Expand Down
Loading