diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-05-26 06:48:41 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-05-26 06:48:41 +0000 |
commit | a274efbc67487c1c08db6e15d1b3efa5275138e4 (patch) | |
tree | 5f79c6c486e810cf6e8e1087b3ef37d153b46915 /lib/TableGen | |
parent | ef92f29b7561cceb6cc84c82af3e0edc52e42a39 (diff) | |
download | llvm-a274efbc67487c1c08db6e15d1b3efa5275138e4.tar.gz |
[TableGen] Remove unneeded namespace around a function. Just put llvm:: on the definition since it's already declared in a header file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/TableGen')
-rw-r--r-- | lib/TableGen/Main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/TableGen/Main.cpp b/lib/TableGen/Main.cpp index d59cd216e6ec..17556a2377f2 100644 --- a/lib/TableGen/Main.cpp +++ b/lib/TableGen/Main.cpp @@ -70,9 +70,7 @@ static int createDependencyFile(const TGParser &Parser, const char *argv0) { return 0; } -namespace llvm { - -int TableGenMain(char *argv0, TableGenMainFn *MainFn) { +int llvm::TableGenMain(char *argv0, TableGenMainFn *MainFn) { RecordKeeper Records; // Parse the input file. @@ -120,5 +118,3 @@ int TableGenMain(char *argv0, TableGenMainFn *MainFn) { Out.keep(); return 0; } - -} |