cmVisualStudio10TargetGenerator: Run clang-format

This commit is contained in:
Brad King 2016-08-05 15:20:20 -04:00
parent 4ada475ef5
commit 038e3a4f71

View File

@ -2356,11 +2356,11 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
cmGlobalVisualStudio10Generator* gg = cmGlobalVisualStudio10Generator* gg =
static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator); static_cast<cmGlobalVisualStudio10Generator*>(this->GlobalGenerator);
const char* toolset = gg->GetPlatformToolset(); const char* toolset = gg->GetPlatformToolset();
if (toolset && (toolset == kWINDOWS_7_1_SDK || if (toolset &&
cmHasLiteralPrefix(toolset, "v90") || (toolset == kWINDOWS_7_1_SDK || cmHasLiteralPrefix(toolset, "v90") ||
cmHasLiteralPrefix(toolset, "v100") || cmHasLiteralPrefix(toolset, "v100") ||
cmHasLiteralPrefix(toolset, "v110") || cmHasLiteralPrefix(toolset, "v110") ||
cmHasLiteralPrefix(toolset, "v120"))) { cmHasLiteralPrefix(toolset, "v120"))) {
if (const char* debug = if (const char* debug =
linkOptions.GetFlag("GenerateDebugInformation")) { linkOptions.GetFlag("GenerateDebugInformation")) {
// Convert value from enumeration back to boolean for older toolsets. // Convert value from enumeration back to boolean for older toolsets.