Skip to content

Commit b31757b

Browse files
committed
Fix formating
1 parent d60e7dd commit b31757b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler-rt/lib/asan/asan_poisoning.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ void __sanitizer_annotate_double_ended_contiguous_container(
577577
}
578578
}
579579

580-
581580
// Marks the specified number of bytes in a granule as accessible or
582581
// poisones the whole granule with kAsanContiguousContainerOOBMagic value.
583582
static void SetContainerGranule(uptr ptr, u8 n) {
@@ -729,9 +728,9 @@ void __sanitizer_copy_contiguous_container_annotations(const void *src_beg_p,
729728
bool copy_in_reversed_order = src_beg < dst_beg && dst_beg <= src_end_up;
730729
if (src_beg % granularity != dst_beg % granularity ||
731730
RoundDownTo(dst_end - 1, granularity) <= dst_beg) {
732-
if (copy_in_reversed_order)
731+
if (copy_in_reversed_order)
733732
SlowReversedCopyContainerAnnotations(src_beg, src_end, dst_beg, dst_end);
734-
else
733+
else
735734
SlowCopyContainerAnnotations(src_beg, src_end, dst_beg, dst_end);
736735
return;
737736
}

0 commit comments

Comments
 (0)