r215767 - Rename this function to better reflect its purpose
Sean Silva
chisophugis at gmail.com
Fri Aug 15 13:59:03 PDT 2014
Author: silvas
Date: Fri Aug 15 15:59:03 2014
New Revision: 215767
URL: http://llvm.org/viewvc/llvm-project?rev=215767&view=rev
Log:
Rename this function to better reflect its purpose
Thanks to dblaikie for the impetus to look for a better name.
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=215767&r1=215766&r2=215767&view=diff
==============================================================================
--- cfe/trunk/tools/driver/driver.cpp (original)
+++ cfe/trunk/tools/driver/driver.cpp Fri Aug 15 15:59:03 2014
@@ -293,7 +293,7 @@ namespace {
};
}
-static void HandleDriverEnvVars(Driver &TheDriver) {
+static void SetBackdoorDriverOutputsFromEnvVars(Driver &TheDriver) {
// Handle CC_PRINT_OPTIONS and CC_PRINT_OPTIONS_FILE.
TheDriver.CCPrintOptions = !!::getenv("CC_PRINT_OPTIONS");
if (TheDriver.CCPrintOptions)
@@ -426,7 +426,7 @@ int main(int argc_, const char **argv_)
llvm::InitializeAllTargets();
ParseProgName(argv, SavedStrings, TheDriver);
- HandleDriverEnvVars(TheDriver);
+ SetBackdoorDriverOutputsFromEnvVars(TheDriver);
std::unique_ptr<Compilation> C(TheDriver.BuildCompilation(argv));
int Res = 0;
More information about the cfe-commits
mailing list