diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-05-02 17:32:48 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-05-02 17:32:48 +0000 |
commit | f657da2e4896732f306a9e62261418112e7337ce (patch) | |
tree | f725d5ee21bbb226c436094c3af4df7bc3679ff5 | |
parent | 8ed9951c3a2c19d8374946c83f51c1b018b8897f (diff) |
Move llvm-tblgen's StringMatcher into the TableGen library so it can
be used by clang-tblgen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156000 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/TableGen/StringMatcher.h (renamed from utils/TableGen/StringMatcher.h) | 0 | ||||
-rw-r--r-- | lib/TableGen/CMakeLists.txt | 1 | ||||
-rw-r--r-- | lib/TableGen/StringMatcher.cpp (renamed from utils/TableGen/StringMatcher.cpp) | 2 | ||||
-rw-r--r-- | utils/TableGen/AsmMatcherEmitter.cpp | 2 | ||||
-rw-r--r-- | utils/TableGen/CMakeLists.txt | 1 | ||||
-rw-r--r-- | utils/TableGen/IntrinsicEmitter.cpp | 2 |
6 files changed, 4 insertions, 4 deletions
diff --git a/utils/TableGen/StringMatcher.h b/include/llvm/TableGen/StringMatcher.h index 1dadc76200..1dadc76200 100644 --- a/utils/TableGen/StringMatcher.h +++ b/include/llvm/TableGen/StringMatcher.h diff --git a/lib/TableGen/CMakeLists.txt b/lib/TableGen/CMakeLists.txt index 82f72b03ee..ba7bf14e5d 100644 --- a/lib/TableGen/CMakeLists.txt +++ b/lib/TableGen/CMakeLists.txt @@ -6,6 +6,7 @@ add_llvm_library(LLVMTableGen Error.cpp Main.cpp Record.cpp + StringMatcher.cpp TableGenAction.cpp TableGenBackend.cpp TGLexer.cpp diff --git a/utils/TableGen/StringMatcher.cpp b/lib/TableGen/StringMatcher.cpp index 6aedcbf458..0ce626d4b1 100644 --- a/utils/TableGen/StringMatcher.cpp +++ b/lib/TableGen/StringMatcher.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "StringMatcher.h" +#include "llvm/TableGen/StringMatcher.h" #include "llvm/Support/raw_ostream.h" #include <map> using namespace llvm; diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp index 837516882e..0cb86d03d7 100644 --- a/utils/TableGen/AsmMatcherEmitter.cpp +++ b/utils/TableGen/AsmMatcherEmitter.cpp @@ -98,7 +98,6 @@ #include "AsmMatcherEmitter.h" #include "CodeGenTarget.h" -#include "StringMatcher.h" #include "StringToOffsetTable.h" #include "llvm/ADT/OwningPtr.h" #include "llvm/ADT/PointerUnion.h" @@ -111,6 +110,7 @@ #include "llvm/Support/ErrorHandling.h" #include "llvm/TableGen/Error.h" #include "llvm/TableGen/Record.h" +#include "llvm/TableGen/StringMatcher.h" #include <map> #include <set> using namespace llvm; diff --git a/utils/TableGen/CMakeLists.txt b/utils/TableGen/CMakeLists.txt index 2b70f1c52b..c5585f5eaa 100644 --- a/utils/TableGen/CMakeLists.txt +++ b/utils/TableGen/CMakeLists.txt @@ -27,7 +27,6 @@ add_tablegen(llvm-tblgen LLVM PseudoLoweringEmitter.cpp RegisterInfoEmitter.cpp SetTheory.cpp - StringMatcher.cpp SubtargetEmitter.cpp TGValueTypes.cpp TableGen.cpp diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp index 8e1bae8c1f..05ba5d2490 100644 --- a/utils/TableGen/IntrinsicEmitter.cpp +++ b/utils/TableGen/IntrinsicEmitter.cpp @@ -13,8 +13,8 @@ #include "CodeGenTarget.h" #include "IntrinsicEmitter.h" -#include "StringMatcher.h" #include "llvm/TableGen/Record.h" +#include "llvm/TableGen/StringMatcher.h" #include "llvm/ADT/StringExtras.h" #include <algorithm> using namespace llvm; |