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

//===- Diagnostic.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 "Diagnostics.h"
#include "mlir/Query/Matcher/ErrorBuilder.h"

namespace mlir::query::matcher::internal {

Diagnostics::ArgStream &
Diagnostics::ArgStream::operator<<(const llvm::Twine &arg) {}

Diagnostics::ArgStream Diagnostics::addError(SourceRange range,
                                             ErrorType error) {}

static llvm::StringRef errorTypeToFormatString(ErrorType type) {}

static void formatErrorString(llvm::StringRef formatString,
                              llvm::ArrayRef<std::string> args,
                              llvm::raw_ostream &os) {}

static void maybeAddLineAndColumn(SourceRange range, llvm::raw_ostream &os) {}

void Diagnostics::printMessage(
    const Diagnostics::ErrorContent::Message &message, const llvm::Twine prefix,
    llvm::raw_ostream &os) const {}

void Diagnostics::printErrorContent(const Diagnostics::ErrorContent &content,
                                    llvm::raw_ostream &os) const {}

void Diagnostics::print(llvm::raw_ostream &os) const {}

} // namespace mlir::query::matcher::internal