[llvm-commits] [llvm] r165544 - /llvm/trunk/lib/TableGen/Main.cpp

Sean Silva silvas at purdue.edu
Tue Oct 9 13:39:28 PDT 2012


Author: silvas
Date: Tue Oct  9 15:39:28 2012
New Revision: 165544

URL: http://llvm.org/viewvc/llvm-project?rev=165544&view=rev
Log:
tblgen: Rename handleDependencies -> createDependencyFile

Modified:
    llvm/trunk/lib/TableGen/Main.cpp

Modified: llvm/trunk/lib/TableGen/Main.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/Main.cpp?rev=165544&r1=165543&r2=165544&view=diff
==============================================================================
--- llvm/trunk/lib/TableGen/Main.cpp (original)
+++ llvm/trunk/lib/TableGen/Main.cpp Tue Oct  9 15:39:28 2012
@@ -51,7 +51,7 @@
 ///
 /// 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 @@
       return 1;
     }
     if (!DependFilename.empty())
-      if (int Ret = handleDependencies(Parser, argv0))
+      if (int Ret = createDependencyFile(Parser, argv0))
         return Ret;
 
     if (MainFn(Out.os(), Records))





More information about the llvm-commits mailing list