[asan] fix confusing indentation
authorKostya Serebryany <kcc@google.com>
Wed, 13 Feb 2013 05:14:12 +0000 (05:14 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 13 Feb 2013 05:14:12 +0000 (05:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175033 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/AddressSanitizer.cpp

index 4950d838b294c7326155734ada3dd779961de43b..b97e3425bccaae4d7dc3582851630939eaf1f463 100644 (file)
@@ -219,7 +219,8 @@ static ShadowMapping getShadowMapping(const Module &M, int LongSize,
   if (!ZeroBaseShadow && ClShort64BitOffset && IsX86_64 && !IsMacOSX) {
     assert(LongSize == 64);
     Mapping.Offset = kDefaultShort64bitShadowOffset;
-  } if (!ZeroBaseShadow && ClMappingOffsetLog >= 0) {
+  }
+  if (!ZeroBaseShadow && ClMappingOffsetLog >= 0) {
     // Zero offset log is the special case.
     Mapping.Offset = (ClMappingOffsetLog == 0) ? 0 : 1ULL << ClMappingOffsetLog;
   }