]> granicus.if.org Git - clang/commitdiff
Fix indentation.
authorAkira Hatanaka <ahatanaka@apple.com>
Sat, 1 Jul 2017 04:37:54 +0000 (04:37 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Sat, 1 Jul 2017 04:37:54 +0000 (04:37 +0000)
This is an attempt to fix a failing bot:

http://lab.llvm.org:8011/builders/ubuntu-gcc7.1-werror

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306944 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains/Darwin.cpp

index 589c4b7f90f4242774a52580f73c6ece7c3cacd3..7b61095c3ba94934e82fe8de1f42845be14da68b 100644 (file)
@@ -1342,13 +1342,13 @@ void Darwin::AddDeploymentTarget(DerivedArgList &Args) const {
         HadExtra || Major >= 100 || Minor >= 100 || Micro >= 100)
       getDriver().Diag(diag::err_drv_invalid_version_number)
           << iOSVersion->getAsString(Args);
-      // iOS 10 is the maximum deployment target for 32-bit targets. If the
-      // inferred deployment target is iOS 11 or later, set it to 10.99.
-      if (getTriple().isArch32Bit() && Major >= 11) {
-        Major = 10;
-        Minor = 99;
-        Micro = 99;
-      }
+    // iOS 10 is the maximum deployment target for 32-bit targets. If the
+    // inferred deployment target is iOS 11 or later, set it to 10.99.
+    if (getTriple().isArch32Bit() && Major >= 11) {
+      Major = 10;
+      Minor = 99;
+      Micro = 99;
+    }
   } else if (Platform == TvOS) {
     if (!Driver::GetReleaseVersion(TvOSVersion->getValue(), Major, Minor,
                                    Micro, HadExtra) || HadExtra ||