aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2012-10-09 20:39:28 +0000
committerSean Silva <silvas@purdue.edu>2012-10-09 20:39:28 +0000
commit1ed3b427fa0de2569351149fc5cb4638a41e9e98 (patch)
tree5e9adcc007cb9b6e05eb2dfcc202fe1fb742047b /lib
parent391d042c4e81eb45123074728a579663d426bc93 (diff)
downloadexternal_llvm-1ed3b427fa0de2569351149fc5cb4638a41e9e98.zip
external_llvm-1ed3b427fa0de2569351149fc5cb4638a41e9e98.tar.gz
external_llvm-1ed3b427fa0de2569351149fc5cb4638a41e9e98.tar.bz2
tblgen: Rename handleDependencies -> createDependencyFile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/TableGen/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/TableGen/Main.cpp b/lib/TableGen/Main.cpp
index 84de925..d87d175 100644
--- a/lib/TableGen/Main.cpp
+++ b/lib/TableGen/Main.cpp
@@ -51,7 +51,7 @@ namespace {
///
/// This functionality is really only for the benefit of the build system.
/// It is similar to GCC's `-M*` family of options.
-static int handleDependencies(const TGParser &Parser, const char *argv0) {
+static int createDependencyFile(const TGParser &Parser, const char *argv0) {
if (OutputFilename == "-") {
errs() << argv0 << ": the option -d must be used together with -o\n";
return 1;
@@ -111,7 +111,7 @@ int TableGenMain(char *argv0, TableGenMainFn *MainFn) {
return 1;
}
if (!DependFilename.empty())
- if (int Ret = handleDependencies(Parser, argv0))
+ if (int Ret = createDependencyFile(Parser, argv0))
return Ret;
if (MainFn(Out.os(), Records))