#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)
{ … }
}