diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-06-01 22:23:02 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-06-01 22:23:02 +0000 |
commit | 0a5ca3588df1cb9248ae299f7f5ac1434c0e4d8c (patch) | |
tree | 5feda31e2617692af9895cfa88a464e75585fced /tools/diagtool/DiagnosticNames.h | |
parent | b705489e8e23e7a5401a4bb0b528bf6bcede9d5c (diff) | |
download | clang-0a5ca3588df1cb9248ae299f7f5ac1434c0e4d8c.tar.gz clang-0a5ca3588df1cb9248ae299f7f5ac1434c0e4d8c.tar.bz2 clang-0a5ca3588df1cb9248ae299f7f5ac1434c0e4d8c.tar.xz |
[diagtool] Pull show-enabled back out for now.
Need to figure out how to get Frontend's warning parsing without bringing
in all of Frontend.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/diagtool/DiagnosticNames.h')
-rw-r--r-- | tools/diagtool/DiagnosticNames.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/diagtool/DiagnosticNames.h b/tools/diagtool/DiagnosticNames.h deleted file mode 100644 index ac1934aac1..0000000000 --- a/tools/diagtool/DiagnosticNames.h +++ /dev/null @@ -1,28 +0,0 @@ -//===- DiagnosticNames.h - Defines a table of all builtin diagnostics ------==// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include "llvm/ADT/StringRef.h" -#include "llvm/Support/DataTypes.h" - -namespace diagtool { - struct DiagnosticRecord { - const char *NameStr; - unsigned short DiagID; - uint8_t NameLen; - - llvm::StringRef getName() const { - return llvm::StringRef(NameStr, NameLen); - } - }; - - extern const DiagnosticRecord BuiltinDiagnostics[]; - extern const size_t BuiltinDiagnosticsCount; - -} // end namespace diagtool - |