aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/CodeGenInstruction.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-06-21 22:55:50 +0000
committerJim Grosbach <grosbach@apple.com>2011-06-21 22:55:50 +0000
commit0b6a44afb92fed0365b6709c1f46b0c5e49e1a72 (patch)
tree2b3578c678b2c74d3d10599641bae25731f3139a /utils/TableGen/CodeGenInstruction.cpp
parent109c22c06232358597afec5d8b7a6b6fd24e19b1 (diff)
downloadexternal_llvm-0b6a44afb92fed0365b6709c1f46b0c5e49e1a72.tar.gz
external_llvm-0b6a44afb92fed0365b6709c1f46b0c5e49e1a72.tar.bz2
external_llvm-0b6a44afb92fed0365b6709c1f46b0c5e49e1a72.zip
Consolidate some TableGen diagnostic helper functions.
TableGen had diagnostic printers sprinkled about in a few places. Pull them together into a single location in Error.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r--utils/TableGen/CodeGenInstruction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.cpp b/utils/TableGen/CodeGenInstruction.cpp
index 73fe916258..e9557d2b4b 100644
--- a/utils/TableGen/CodeGenInstruction.cpp
+++ b/utils/TableGen/CodeGenInstruction.cpp
@@ -13,6 +13,7 @@
#include "CodeGenInstruction.h"
#include "CodeGenTarget.h"
+#include "Error.h"
#include "Record.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringMap.h"