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

namespace CppExtract
{

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 CppExtract