[compiler-rt] a435741 - [scudo] Clang-format tests

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 24 17:33:33 PDT 2021


Author: Vitaly Buka
Date: 2021-06-24T17:33:24-07:00
New Revision: a4357411107e48e2580b06f4b4f518b2213951b8

URL: https://github.com/llvm/llvm-project/commit/a4357411107e48e2580b06f4b4f518b2213951b8
DIFF: https://github.com/llvm/llvm-project/commit/a4357411107e48e2580b06f4b4f518b2213951b8.diff

LOG: [scudo] Clang-format tests

Added: 
    

Modified: 
    compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp b/compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
index 747638b24860..eb098c7f4d21 100644
--- a/compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
+++ b/compiler-rt/lib/scudo/standalone/tests/wrappers_cpp_test.cpp
@@ -112,7 +112,8 @@ TEST(ScudoWrappersCppTest, ThreadedNew) {
   // TODO: Investigate why libc sometimes crashes with tag missmatch in
   // __pthread_clockjoin_ex.
   std::unique_ptr<scudo::ScopedDisableMemoryTagChecks> NoTags;
-  if (!SCUDO_ANDROID && scudo::archSupportsMemoryTagging() && scudo::systemSupportsMemoryTagging())
+  if (!SCUDO_ANDROID && scudo::archSupportsMemoryTagging() &&
+      scudo::systemSupportsMemoryTagging())
     NoTags = std::make_unique<scudo::ScopedDisableMemoryTagChecks>();
 
   Ready = false;


        


More information about the llvm-commits mailing list