chromium/third_party/angle/src/compiler/translator/Diagnostics.cpp

//
// Copyright 2012 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

#include "compiler/translator/Diagnostics.h"

#include "common/debug.h"
#include "compiler/preprocessor/SourceLocation.h"
#include "compiler/translator/Common.h"
#include "compiler/translator/InfoSink.h"

namespace sh
{

TDiagnostics::TDiagnostics(TInfoSinkBase &infoSink)
    :{}

TDiagnostics::~TDiagnostics() {}

void TDiagnostics::writeInfo(Severity severity,
                             const angle::pp::SourceLocation &loc,
                             const char *reason,
                             const char *token)
{}

void TDiagnostics::globalError(const char *message)
{}

void TDiagnostics::error(const angle::pp::SourceLocation &loc,
                         const char *reason,
                         const char *token)
{}

void TDiagnostics::warning(const angle::pp::SourceLocation &loc,
                           const char *reason,
                           const char *token)
{}

void TDiagnostics::error(const TSourceLoc &loc, const char *reason, const char *token)
{}

void TDiagnostics::warning(const TSourceLoc &loc, const char *reason, const char *token)
{}

void TDiagnostics::print(ID id, const angle::pp::SourceLocation &loc, const std::string &text)
{}

void TDiagnostics::resetErrorCount()
{}

PerformanceDiagnostics::PerformanceDiagnostics(TDiagnostics *diagnostics)
    :{}

void PerformanceDiagnostics::warning(const TSourceLoc &loc, const char *reason, const char *token)
{}

}  // namespace sh