projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7644fd
)
[TableGen] Remove unneeded namespace around a function. Just put llvm:: on the defini...
author
Craig Topper
<craig.topper@gmail.com>
Tue, 26 May 2015 06:48:41 +0000
(06:48 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Tue, 26 May 2015 06:48:41 +0000
(06:48 +0000)
llvm-svn: 238178
llvm/lib/TableGen/Main.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/TableGen/Main.cpp
b/llvm/lib/TableGen/Main.cpp
index
d59cd21
..
17556a2
100644
(file)
--- a/
llvm/lib/TableGen/Main.cpp
+++ b/
llvm/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;
}
-
-}