diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-05 22:25:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-05 22:25:12 +0000 |
commit | 6cefb77a7073057fecd721ae141140d75ce76512 (patch) | |
tree | be85f322799be552a691ad6f696f429049fd512f /utils/TableGen/TableGenBackend.cpp | |
parent | 219f67f0a5f07032f06e36c71fdb84188cc29fdb (diff) |
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.cpp | 9 |
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(); -} - |