[compiler-rt] Fix lint check failure on comments
authorJinsong Ji <jji@us.ibm.com>
Sun, 22 Sep 2019 15:31:03 +0000 (15:31 +0000)
committerJinsong Ji <jji@us.ibm.com>
Sun, 22 Sep 2019 15:31:03 +0000 (15:31 +0000)
This fixes buildbot failures for https://reviews.llvm.org/rL372459.
(at least on PowerPC/Z )

The fix is generated by running clang-format on the error lines only.

llvm-svn: 372511

compiler-rt/lib/asan/asan_interceptors.cpp
compiler-rt/lib/lsan/lsan_interceptors.cpp

index e43a427..b19cf25 100644 (file)
@@ -612,7 +612,8 @@ INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(),
 #if CAN_SANITIZE_LEAKS
   __lsan::ScopedInterceptorDisabler disabler;
 #endif
-  // REAL(pthread_atfork) cannot be called due to symbol indirections at least on NetBSD
+  // REAL(pthread_atfork) cannot be called due to symbol indirections at least
+  // on NetBSD
   return _pthread_atfork(prepare, parent, child);
 }
 #endif
index 601a5ef..f642bb8 100644 (file)
@@ -375,7 +375,8 @@ extern int _pthread_atfork(void (*prepare)(), void (*parent)(),
 INTERCEPTOR(int, pthread_atfork, void (*prepare)(), void (*parent)(),
             void (*child)()) {
   __lsan::ScopedInterceptorDisabler disabler;
-  // REAL(pthread_atfork) cannot be called due to symbol indirections at least on NetBSD
+  // REAL(pthread_atfork) cannot be called due to symbol indirections at least
+  // on NetBSD
   return _pthread_atfork(prepare, parent, child);
 }
 #define LSAN_MAYBE_INTERCEPT_PTHREAD_ATFORK INTERCEPT_FUNCTION(pthread_atfork)