Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 39f0294

Browse files
committed
[asan] fix confusing indentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175033 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 519e147 commit 39f0294

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Transforms/Instrumentation/AddressSanitizer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ static ShadowMapping getShadowMapping(const Module &M, int LongSize,
219219
if (!ZeroBaseShadow && ClShort64BitOffset && IsX86_64 && !IsMacOSX) {
220220
assert(LongSize == 64);
221221
Mapping.Offset = kDefaultShort64bitShadowOffset;
222-
} if (!ZeroBaseShadow && ClMappingOffsetLog >= 0) {
222+
}
223+
if (!ZeroBaseShadow && ClMappingOffsetLog >= 0) {
223224
// Zero offset log is the special case.
224225
Mapping.Offset = (ClMappingOffsetLog == 0) ? 0 : 1ULL << ClMappingOffsetLog;
225226
}

0 commit comments

Comments
 (0)