From 2f7bf410916df36428076f135defb0262423b273 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Tue, 9 Oct 2012 20:39:28 +0000 Subject: tblgen: Rename handleDependencies -> createDependencyFile llvm-svn: 165544 --- llvm/lib/TableGen/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm') diff --git a/llvm/lib/TableGen/Main.cpp b/llvm/lib/TableGen/Main.cpp index 84de925d2d3..d87d1755023 100644 --- a/llvm/lib/TableGen/Main.cpp +++ b/llvm/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)) -- cgit v1.2.3