[NFC][asan] clang-format the test
authorVitaly Buka <vitalybuka@google.com>
Thu, 17 Nov 2022 06:40:29 +0000 (22:40 -0800)
committerVitaly Buka <vitalybuka@google.com>
Thu, 17 Nov 2022 06:45:08 +0000 (22:45 -0800)
compiler-rt/test/asan/TestCases/contiguous_container.cpp

index f54c4d3..8c78379 100644 (file)
@@ -2,11 +2,11 @@
 //
 // Test __sanitizer_annotate_contiguous_container.
 
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
 #include <assert.h>
 #include <sanitizer/asan_interface.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 static constexpr size_t kGranularity = 8;
 
@@ -87,11 +87,9 @@ void TestContainer(size_t capacity, size_t off_begin, size_t off_end,
   delete[] buffer;
 }
 
-__attribute__((noinline))
-void Throw() { throw 1; }
+__attribute__((noinline)) void Throw() { throw 1; }
 
-__attribute__((noinline))
-void ThrowAndCatch() {
+__attribute__((noinline)) void ThrowAndCatch() {
   try {
     Throw();
   } catch (...) {