summaryrefslogtreecommitdiffstats
path: root/tools/slang-cpp-parser/diagnostics.cpp
blob: 10455a9ffa65d50b45b26cfa148ce8f8a6524e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "diagnostics.h"

namespace CppParse
{

namespace CPPDiagnostics
{
using namespace Slang;

#define DIAGNOSTIC(id, severity, name, messageFormat) \
    const DiagnosticInfo name = {id, Severity::severity, #name, messageFormat};
#include "diagnostic-defs.h"
} // namespace CPPDiagnostics

} // namespace CppParse