summaryrefslogtreecommitdiff
path: root/utils/TableGen/TableGenBackend.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-05 22:25:12 +0000
committerChris Lattner <sabre@nondot.org>2008-01-05 22:25:12 +0000
commit6cefb77a7073057fecd721ae141140d75ce76512 (patch)
treebe85f322799be552a691ad6f696f429049fd512f /utils/TableGen/TableGenBackend.cpp
parent219f67f0a5f07032f06e36c71fdb84188cc29fdb (diff)
downloadllvm-6cefb77a7073057fecd721ae141140d75ce76512.tar.gz
llvm-6cefb77a7073057fecd721ae141140d75ce76512.tar.bz2
llvm-6cefb77a7073057fecd721ae141140d75ce76512.tar.xz
change getQualifiedName to be a global function.
Split the pattern parsing code out from the dag isel emitter into it's own file. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TableGenBackend.cpp')
-rw-r--r--utils/TableGen/TableGenBackend.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/utils/TableGen/TableGenBackend.cpp b/utils/TableGen/TableGenBackend.cpp
index 6f27cdb315..87a1b3da11 100644
--- a/utils/TableGen/TableGenBackend.cpp
+++ b/utils/TableGen/TableGenBackend.cpp
@@ -23,12 +23,3 @@ void TableGenBackend::EmitSourceFileHeader(const std::string &Desc,
"----------------------------------===//\n\n";
}
-/// getQualifiedName - Return the name of the specified record, with a
-/// namespace qualifier if the record contains one.
-///
-std::string TableGenBackend::getQualifiedName(Record *R) const {
- std::string Namespace = R->getValueAsString("Namespace");
- if (Namespace.empty()) return R->getName();
- return Namespace + "::" + R->getName();
-}
-