#include "DiagnosticNames.h"
#include "clang/Basic/AllDiagnostics.h"
#include "llvm/ADT/STLExtras.h"
usingnamespaceclang;
usingnamespacediagtool;
static const DiagnosticRecord BuiltinDiagnosticsByName[] = …;
llvm::ArrayRef<DiagnosticRecord> diagtool::getBuiltinDiagnosticsByName() { … }
static const DiagnosticRecord BuiltinDiagnosticsByID[] = …;
static bool orderByID(const DiagnosticRecord &Left,
const DiagnosticRecord &Right) { … }
const DiagnosticRecord &diagtool::getDiagnosticForID(short DiagID) { … }
#define GET_DIAG_ARRAYS
#include "clang/Basic/DiagnosticGroups.inc"
#undef GET_DIAG_ARRAYS
static const GroupRecord OptionTable[] = …;
llvm::StringRef GroupRecord::getName() const { … }
GroupRecord::subgroup_iterator GroupRecord::subgroup_begin() const { … }
GroupRecord::subgroup_iterator GroupRecord::subgroup_end() const { … }
llvm::iterator_range<diagtool::GroupRecord::subgroup_iterator>
GroupRecord::subgroups() const { … }
GroupRecord::diagnostics_iterator GroupRecord::diagnostics_begin() const { … }
GroupRecord::diagnostics_iterator GroupRecord::diagnostics_end() const { … }
llvm::iterator_range<diagtool::GroupRecord::diagnostics_iterator>
GroupRecord::diagnostics() const { … }
llvm::ArrayRef<GroupRecord> diagtool::getDiagnosticGroups() { … }