llvm/mlir/lib/Query/Matcher/VariantValue.cpp

//===--- Variantvalue.cpp -------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//

#include "mlir/Query/Matcher/VariantValue.h"

namespace mlir::query::matcher {

VariantMatcher::Payload::~Payload() = default;

class VariantMatcher::SinglePayload : public VariantMatcher::Payload {};

VariantMatcher::VariantMatcher() = default;

VariantMatcher VariantMatcher::SingleMatcher(DynMatcher matcher) {}

std::optional<DynMatcher> VariantMatcher::getDynMatcher() const {}

void VariantMatcher::reset() {}

std::string VariantMatcher::getTypeAsString() const {}

VariantValue::VariantValue(const VariantValue &other)
    :{}

VariantValue::VariantValue(const llvm::StringRef string)
    :{}

VariantValue::VariantValue(const VariantMatcher &matcher)
    :{}

VariantValue::~VariantValue() {}

VariantValue &VariantValue::operator=(const VariantValue &other) {}

void VariantValue::reset() {}

bool VariantValue::isString() const {}

const llvm::StringRef &VariantValue::getString() const {}

void VariantValue::setString(const llvm::StringRef &newValue) {}

bool VariantValue::isMatcher() const {}

const VariantMatcher &VariantValue::getMatcher() const {}

void VariantValue::setMatcher(const VariantMatcher &newValue) {}

std::string VariantValue::getTypeAsString() const {}

} // namespace mlir::query::matcher