1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

[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
This commit is contained in:
Craig Topper 2015-05-26 06:48:41 +00:00
parent eeaddaa803
commit 05dc62a73c

View 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;
}
}