projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef92f29
)
[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238178
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/TableGen/Main.cpp
patch
|
blob
|
history
diff --git
a/lib/TableGen/Main.cpp
b/lib/TableGen/Main.cpp
index d59cd216e6ec17253ed9e48494b8ce95fb86a89c..17556a2377f244957f757029eb918c88d6b19349 100644
(file)
--- 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;
}
-
-}