Skip to content

Commit

Permalink
tblgen: Rename handleDependencies -> createDependencyFile
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165544 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chisophugis committed Oct 9, 2012
1 parent 391d042 commit 1ed3b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/TableGen/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 1ed3b42

Please sign in to comment.