Przeglądaj źródła

[NFC] clang-format llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312035 91177308-0d34-0410-b5e6-96231b3b80d8
Bob Haarman 8 lat temu
rodzic
commit
e769623fc3
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4 2
      lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

+ 4 - 2
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp

@@ -964,7 +964,8 @@ void CodeViewDebug::calculateRanges(
     bool Supported =
         DbgVariableLocation::extractFromMachineInstruction(Location, *DVInst);
     // If not Supported, don't even look at Location because it's invalid.
-    if (!Supported) continue;
+    if (!Supported)
+      continue;
 
     // Because we cannot express DW_OP_deref in CodeView directly,
     // we use a trick: we encode the type as a reference to the
@@ -990,7 +991,8 @@ void CodeViewDebug::calculateRanges(
     }
 
     // If we don't know how to handle this range, skip past it.
-    if (!Supported || Location.Register == 0 || (Location.Offset && !Location.InMemory))
+    if (!Supported || Location.Register == 0 ||
+        (Location.Offset && !Location.InMemory))
       continue;
 
     // Handle the two cases we can handle: indirect in memory and in register.