[TableGen] Remove unneeded namespace around a function. Just put llvm:: on the defini...
authorCraig Topper <craig.topper@gmail.com>
Tue, 26 May 2015 06:48:41 +0000 (06:48 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 26 May 2015 06:48:41 +0000 (06:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238178 91177308-0d34-0410-b5e6-96231b3b80d8

lib/TableGen/Main.cpp

index d59cd21..17556a2 100644 (file)
@@ -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;
 }
-
-}