summaryrefslogtreecommitdiff
path: root/utils/TableGen/AsmMatcherEmitter.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/AsmMatcherEmitter.cpp
parent109c22c06232358597afec5d8b7a6b6fd24e19b1 (diff)
downloadllvm-0b6a44afb92fed0365b6709c1f46b0c5e49e1a72.tar.gz
llvm-0b6a44afb92fed0365b6709c1f46b0c5e49e1a72.tar.bz2
llvm-0b6a44afb92fed0365b6709c1f46b0c5e49e1a72.tar.xz
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/AsmMatcherEmitter.cpp')
-rw-r--r--utils/TableGen/AsmMatcherEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp
index bf0690f63a..a05867bb3c 100644
--- a/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/utils/TableGen/AsmMatcherEmitter.cpp
@@ -98,6 +98,7 @@
#include "AsmMatcherEmitter.h"
#include "CodeGenTarget.h"
+#include "Error.h"
#include "Record.h"
#include "StringMatcher.h"
#include "llvm/ADT/OwningPtr.h"