[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)
llvm-svn: 238178

llvm/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;
 }
-
-}