r215774 - Rename as suggested by dblaikie

Sean Silva chisophugis at gmail.com
Fri Aug 15 14:40:51 PDT 2014


Author: silvas
Date: Fri Aug 15 16:40:51 2014
New Revision: 215774

URL: http://llvm.org/viewvc/llvm-project?rev=215774&view=rev
Log:
Rename as suggested by dblaikie

Modified:
    cfe/trunk/tools/driver/driver.cpp

Modified: cfe/trunk/tools/driver/driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/driver.cpp?rev=215774&r1=215773&r2=215774&view=diff
==============================================================================
--- cfe/trunk/tools/driver/driver.cpp (original)
+++ cfe/trunk/tools/driver/driver.cpp Fri Aug 15 16:40:51 2014
@@ -357,7 +357,7 @@ static void SetInstallDir(SmallVectorImp
     TheDriver.setInstalledDir(InstalledPath);
 }
 
-static int HandleCC1Tool(ArrayRef<const char *> argv, StringRef Tool) {
+static int ExecuteCC1Tool(ArrayRef<const char *> argv, StringRef Tool) {
   void *GetExecutablePathVP = (void *)(intptr_t) GetExecutablePath;
   if (Tool == "")
     return cc1_main(argv.slice(2), argv[0], GetExecutablePathVP);
@@ -388,7 +388,7 @@ int main(int argc_, const char **argv_)
 
   // Handle -cc1 integrated tools.
   if (argv.size() > 1 && StringRef(argv[1]).startswith("-cc1"))
-    return HandleCC1Tool(argv, argv[1] + 4);
+    return ExecuteCC1Tool(argv, argv[1] + 4);
 
   bool CanonicalPrefixes = true;
   for (int i = 1, size = argv.size(); i < size; ++i) {





More information about the cfe-commits mailing list