[libc-commits] [libc] 5c78c15 - [libc][NFC] clang-format

Alex Brachet via libc-commits libc-commits at lists.llvm.org
Fri Sep 2 14:17:44 PDT 2022


Author: Alex Brachet
Date: 2022-09-02T21:17:34Z
New Revision: 5c78c154dffeb8d7dfa650b40df43a6bca4664d4

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

LOG: [libc][NFC] clang-format

Added: 
    

Modified: 
    libc/test/src/stdlib/atexit_test.cpp

Removed: 
    


################################################################################
diff  --git a/libc/test/src/stdlib/atexit_test.cpp b/libc/test/src/stdlib/atexit_test.cpp
index 21ecefac07f54..2f79dbcd5bd69 100644
--- a/libc/test/src/stdlib/atexit_test.cpp
+++ b/libc/test/src/stdlib/atexit_test.cpp
@@ -80,9 +80,8 @@ TEST(LlvmLibcAtExit, Many) {
 
 TEST(LlvmLibcAtExit, HandlerCallsAtExit) {
   auto test = [] {
-    __llvm_libc::atexit(+[] {
-      __llvm_libc::atexit(+[] { __llvm_libc::exit(1); });
-    });
+    __llvm_libc::atexit(
+        +[] { __llvm_libc::atexit(+[] { __llvm_libc::exit(1); }); });
     __llvm_libc::exit(0);
   };
   EXPECT_EXITS(test, 1);


        


More information about the libc-commits mailing list