From 05dc62a73cf32d9aa5eb0816d07cdaf30d0c1eb1 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 26 May 2015 06:48:41 +0000 Subject: [PATCH] [TableGen] Remove unneeded namespace around a function. Just put llvm:: on the definition since it's already declared in a header file. llvm-svn: 238178 --- lib/TableGen/Main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/TableGen/Main.cpp b/lib/TableGen/Main.cpp index d59cd216e6e..17556a2377f 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; } - -}