[llvm] r312035 - [NFC] clang-format llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
Bob Haarman via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 29 14:01:55 PDT 2017
Author: inglorion
Date: Tue Aug 29 14:01:55 2017
New Revision: 312035
URL: http://llvm.org/viewvc/llvm-project?rev=312035&view=rev
Log:
[NFC] clang-format llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp?rev=312035&r1=312034&r2=312035&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp Tue Aug 29 14:01:55 2017
@@ -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.
More information about the llvm-commits
mailing list