From e769623fc365bc70a6ff64a4a1cf7ad3f400c541 Mon Sep 17 00:00:00 2001 From: Bob Haarman Date: Tue, 29 Aug 2017 21:01:55 +0000 Subject: [PATCH] [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 --- lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 23322704bc4..0b7fdfdda2a 100644 --- a/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/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. -- 2.50.1