[libc-commits] [libc] 66d00fe - [libc][NFC] Make all top of file comments consistent.

Paula Toth via libc-commits libc-commits at lists.llvm.org
Wed Apr 8 10:20:14 PDT 2020


Author: Paula Toth
Date: 2020-04-08T10:18:37-07:00
New Revision: 66d00feb186619cc5919a18ab56334558e6bbd45

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

LOG: [libc][NFC] Make all top of file comments consistent.

Summary:
Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers.
And did the same for all source files top of file comments.

Reviewers: sivachandra, abrachet

Reviewed By: sivachandra, abrachet

Subscribers: MaskRay, tschuett, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D77533

Added: 
    

Modified: 
    libc/config/linux/errno.h.in
    libc/config/linux/signal.h.in
    libc/config/linux/threads.h.in
    libc/fuzzing/string/strcpy_fuzz.cpp
    libc/include/__llvm-libc-common.h
    libc/include/__posix-types.h
    libc/include/assert.h.def
    libc/include/ctype.h
    libc/include/errno.h.def
    libc/include/math.h.def
    libc/include/signal.h.def
    libc/include/stdlib.h.def
    libc/include/string.h.def
    libc/include/sys/mman.h.def
    libc/include/sys/syscall.h.def
    libc/include/threads.h.def
    libc/loader/linux/x86_64/start.cpp
    libc/src/__support/common.h.def
    libc/src/assert/__assert_fail.cpp
    libc/src/assert/assert.h
    libc/src/errno/errno_location.cpp
    libc/src/errno/llvmlibc_errno.h
    libc/src/math/round.cpp
    libc/src/math/round.h
    libc/src/math/round_redirector.cpp
    libc/src/signal/linux/__restore.cpp
    libc/src/signal/linux/raise.cpp
    libc/src/signal/linux/sigaction.cpp
    libc/src/signal/linux/sigaddset.cpp
    libc/src/signal/linux/sigdelset.cpp
    libc/src/signal/linux/sigemptyset.cpp
    libc/src/signal/linux/sigfillset.cpp
    libc/src/signal/linux/signal.cpp
    libc/src/signal/linux/signal.h
    libc/src/signal/linux/sigprocmask.cpp
    libc/src/signal/raise.h
    libc/src/signal/sigaction.h
    libc/src/signal/sigaddset.h
    libc/src/signal/sigdelset.h
    libc/src/signal/sigemptyset.h
    libc/src/signal/sigfillset.h
    libc/src/signal/signal.h
    libc/src/signal/sigprocmask.h
    libc/src/stdlib/_Exit.h
    libc/src/stdlib/abort.cpp
    libc/src/stdlib/abort.h
    libc/src/string/memcpy.cpp
    libc/src/string/memcpy.h
    libc/src/string/memcpy_arch_specific.h.def
    libc/src/string/memory_utils/cacheline_size.h.def
    libc/src/string/memory_utils/memcpy_utils.h
    libc/src/string/memory_utils/utils.h
    libc/src/string/strcat.cpp
    libc/src/string/strcat.h
    libc/src/string/strcpy.cpp
    libc/src/string/strcpy.h
    libc/src/string/strlen.cpp
    libc/src/string/strlen.h
    libc/src/sys/mman/mmap.h
    libc/src/sys/mman/munmap.h
    libc/src/threads/linux/mtx_init.cpp
    libc/src/threads/linux/mtx_lock.cpp
    libc/src/threads/linux/mtx_unlock.cpp
    libc/src/threads/linux/thrd_create.cpp
    libc/src/threads/linux/thrd_join.cpp
    libc/src/threads/linux/thread_start_args.h.def
    libc/src/threads/mtx_init.h
    libc/src/threads/mtx_lock.h
    libc/src/threads/mtx_unlock.h
    libc/src/threads/thrd_create.h
    libc/src/threads/thrd_join.h
    libc/test/config/linux/x86_64/syscall_test.cpp
    libc/test/loader/linux/args_test.cpp
    libc/test/loader/linux/main_without_args.cpp
    libc/test/loader/linux/main_without_envp.cpp
    libc/test/src/assert/assert_test.cpp
    libc/test/src/errno/errno_test.cpp
    libc/test/src/signal/raise_test.cpp
    libc/test/src/signal/sigaction_test.cpp
    libc/test/src/signal/sigaddset_test.cpp
    libc/test/src/signal/sigdelset_test.cpp
    libc/test/src/signal/sigfillset_test.cpp
    libc/test/src/signal/signal_test.cpp
    libc/test/src/signal/sigprocmask_test.cpp
    libc/test/src/stdlib/_Exit_test.cpp
    libc/test/src/stdlib/abort_test.cpp
    libc/test/src/string/memory_utils/memcpy_utils_test.cpp
    libc/test/src/string/memory_utils/utils_test.cpp
    libc/test/src/string/strcat_test.cpp
    libc/test/src/string/strcpy_test.cpp
    libc/test/src/string/strlen_test.cpp
    libc/test/src/sys/mman/linux/mmap_test.cpp
    libc/test/src/threads/mtx_test.cpp
    libc/test/src/threads/thrd_test.cpp
    libc/utils/CPP/Array.h
    libc/utils/CPP/ArrayRef.h
    libc/utils/CPP/StringRef.h
    libc/utils/CPP/TypeTraits.h
    libc/utils/HdrGen/Command.cpp
    libc/utils/HdrGen/Command.h
    libc/utils/HdrGen/Generator.cpp
    libc/utils/HdrGen/Generator.h
    libc/utils/HdrGen/IncludeFileCommand.cpp
    libc/utils/HdrGen/IncludeFileCommand.h
    libc/utils/HdrGen/Main.cpp
    libc/utils/HdrGen/PublicAPICommand.cpp
    libc/utils/HdrGen/PublicAPICommand.h
    libc/utils/UnitTest/ErrnoSetterMatcher.h
    libc/utils/UnitTest/Test.cpp
    libc/utils/UnitTest/Test.h
    libc/utils/benchmarks/JSON.cpp
    libc/utils/benchmarks/JSON.h
    libc/utils/benchmarks/JSONTest.cpp
    libc/utils/benchmarks/LibcBenchmark.cpp
    libc/utils/benchmarks/LibcBenchmark.h
    libc/utils/benchmarks/LibcBenchmarkTest.cpp
    libc/utils/benchmarks/LibcMemoryBenchmark.cpp
    libc/utils/benchmarks/LibcMemoryBenchmark.h
    libc/utils/benchmarks/LibcMemoryBenchmarkMain.cpp
    libc/utils/benchmarks/LibcMemoryBenchmarkMain.h
    libc/utils/benchmarks/LibcMemoryBenchmarkTest.cpp
    libc/utils/benchmarks/Memcmp.cpp
    libc/utils/benchmarks/Memcpy.cpp
    libc/utils/benchmarks/Memset.cpp
    libc/utils/testutils/ExecuteFunction.h
    libc/utils/testutils/ExecuteFunctionUnix.cpp
    libc/utils/testutils/StreamWrapper.cpp
    libc/utils/testutils/StreamWrapper.h

Removed: 
    


################################################################################
diff  --git a/libc/config/linux/errno.h.in b/libc/config/linux/errno.h.in
index 793f0f6affdc..50bbefb68101 100644
--- a/libc/config/linux/errno.h.in
+++ b/libc/config/linux/errno.h.in
@@ -1,4 +1,4 @@
-//===---------------- Linux specific errno.h definitions ------------------===//
+//===-- Linux specific errno.h definitions --------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/config/linux/signal.h.in b/libc/config/linux/signal.h.in
index fc7ca9a54206..fd0b41d3de5b 100644
--- a/libc/config/linux/signal.h.in
+++ b/libc/config/linux/signal.h.in
@@ -1,4 +1,4 @@
-//===---------------- Linux specific signal.h definitions -----------------===//
+//===-- Linux specific signal.h definitions -------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/config/linux/threads.h.in b/libc/config/linux/threads.h.in
index 58f58a3add8b..cd45ebfec9bc 100644
--- a/libc/config/linux/threads.h.in
+++ b/libc/config/linux/threads.h.in
@@ -1,4 +1,4 @@
-//===--------- Linux specific definitions of types from threads.h ---------===//
+//===-- Linux specific definitions of types from threads.h ----------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/fuzzing/string/strcpy_fuzz.cpp b/libc/fuzzing/string/strcpy_fuzz.cpp
index 51a85d6be0a6..10e0c03bb18f 100644
--- a/libc/fuzzing/string/strcpy_fuzz.cpp
+++ b/libc/fuzzing/string/strcpy_fuzz.cpp
@@ -1,4 +1,4 @@
-//===--------------------- strcpy_fuzz.cpp --------------------------------===//
+//===-- strcpy_fuzz.cpp ---------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/__llvm-libc-common.h b/libc/include/__llvm-libc-common.h
index 18b74e387800..1d34318bd780 100644
--- a/libc/include/__llvm-libc-common.h
+++ b/libc/include/__llvm-libc-common.h
@@ -1,4 +1,4 @@
-//===------- Common definitions for LLVM-libc public header files- --------===//
+//===-- Common definitions for LLVM-libc public header files --------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/__posix-types.h b/libc/include/__posix-types.h
index 2e1119fadbae..d891ab9a63e3 100644
--- a/libc/include/__posix-types.h
+++ b/libc/include/__posix-types.h
@@ -1,4 +1,4 @@
-//===----------------- Definitions of common POSIX types ------------------===//
+//===-- Definitions of common POSIX types ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/assert.h.def b/libc/include/assert.h.def
index 3d7827799904..e5d7dfbffdbb 100644
--- a/libc/include/assert.h.def
+++ b/libc/include/assert.h.def
@@ -1,4 +1,4 @@
-//===---------------- C standard library header assert.h ------------------===//
+//===-- C standard library header assert.h --------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/ctype.h b/libc/include/ctype.h
index 27bb864f13a0..862a1fb71c17 100644
--- a/libc/include/ctype.h
+++ b/libc/include/ctype.h
@@ -1,4 +1,4 @@
-//===---------------- C standard library header ctype.h -----------------*-===//
+//===-- C standard library header ctype.h ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/errno.h.def b/libc/include/errno.h.def
index e5db86ce00e1..da60aed19dbd 100644
--- a/libc/include/errno.h.def
+++ b/libc/include/errno.h.def
@@ -1,4 +1,4 @@
-//===---------------- C standard library header errno.h ------------------===//
+//===-- C standard library header errno.h ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/math.h.def b/libc/include/math.h.def
index 7ede8545cd5e..5b27c33cdf27 100644
--- a/libc/include/math.h.def
+++ b/libc/include/math.h.def
@@ -1,4 +1,4 @@
-//===----------------- C standard library header math.h -----------------*-===//
+//===-- C standard library header math.h ----------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/signal.h.def b/libc/include/signal.h.def
index a8d422ec81d0..7fecb6383592 100644
--- a/libc/include/signal.h.def
+++ b/libc/include/signal.h.def
@@ -1,4 +1,4 @@
-//===---------------- C standard library header signal.h ------------------===//
+//===-- C standard library header signal.h --------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/stdlib.h.def b/libc/include/stdlib.h.def
index 97e3846350c7..f4f8c4f5a907 100644
--- a/libc/include/stdlib.h.def
+++ b/libc/include/stdlib.h.def
@@ -1,4 +1,4 @@
-//===---------------- C standard library header stdlib.h ------------------===//
+//===-- C standard library header stdlib.h --------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/string.h.def b/libc/include/string.h.def
index c2d530062bab..001c42915812 100644
--- a/libc/include/string.h.def
+++ b/libc/include/string.h.def
@@ -1,4 +1,4 @@
-//===---------------- C standard library header string.h ------------------===//
+//===-- C standard library header string.h --------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/sys/mman.h.def b/libc/include/sys/mman.h.def
index d61006661c79..738aa3eaea3a 100644
--- a/libc/include/sys/mman.h.def
+++ b/libc/include/sys/mman.h.def
@@ -1,4 +1,4 @@
-//===------------------------- POSIX header mman.h ------------------------===//
+//===-- POSIX header mman.h -----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/sys/syscall.h.def b/libc/include/sys/syscall.h.def
index 30ae9f98f274..5262f0785820 100644
--- a/libc/include/sys/syscall.h.def
+++ b/libc/include/sys/syscall.h.def
@@ -1,4 +1,4 @@
-//===---------------------- Linux like sys/syscall.h ----------------------===//
+//===-- Linux like sys/syscall.h ------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/include/threads.h.def b/libc/include/threads.h.def
index e99fcfcd89f1..c8a24e0979db 100644
--- a/libc/include/threads.h.def
+++ b/libc/include/threads.h.def
@@ -1,4 +1,4 @@
-//===---------------- C standard library header threads.h -----------------===//
+//===-- C standard library header threads.h -------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/loader/linux/x86_64/start.cpp b/libc/loader/linux/x86_64/start.cpp
index 57af0b1ed528..dbd0b367bfc6 100644
--- a/libc/loader/linux/x86_64/start.cpp
+++ b/libc/loader/linux/x86_64/start.cpp
@@ -1,4 +1,4 @@
-//===------------------ Implementation of crt for x86_64 ------------------===//
+//===-- Implementation of crt for x86_64 ----------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/__support/common.h.def b/libc/src/__support/common.h.def
index 62f69b86a524..3abd23674c97 100644
--- a/libc/src/__support/common.h.def
+++ b/libc/src/__support/common.h.def
@@ -1,4 +1,4 @@
-//===-------------------- Common internal contructs ---------------------*-===//
+//===-- Common internal contructs -----------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/assert/__assert_fail.cpp b/libc/src/assert/__assert_fail.cpp
index 4e72ac759c56..8b75a3bfeb70 100644
--- a/libc/src/assert/__assert_fail.cpp
+++ b/libc/src/assert/__assert_fail.cpp
@@ -1,4 +1,4 @@
-//===----------------- Implementation of __assert_fail --------------------===//
+//===-- Implementation of __assert_fail -----------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/assert/assert.h b/libc/src/assert/assert.h
index ef596daa53fd..4c9a15d2142a 100644
--- a/libc/src/assert/assert.h
+++ b/libc/src/assert/assert.h
@@ -1,4 +1,4 @@
-//===-------------------- Internal header for assert ----------*- C++ -*---===//
+//===-- Internal header for assert ------------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/errno/errno_location.cpp b/libc/src/errno/errno_location.cpp
index 1a1b2889c84b..1d3e2b79408e 100644
--- a/libc/src/errno/errno_location.cpp
+++ b/libc/src/errno/errno_location.cpp
@@ -1,4 +1,4 @@
-//===----------------- Implementation of __errno_location -----------------===//
+//===-- Implementation of __errno_location --------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/errno/llvmlibc_errno.h b/libc/src/errno/llvmlibc_errno.h
index b5a8fdd26adc..870205663e09 100644
--- a/libc/src/errno/llvmlibc_errno.h
+++ b/libc/src/errno/llvmlibc_errno.h
@@ -1,4 +1,4 @@
-//===------------------ Implementation header for errno -------------------===//
+//===-- Implementation header for errno -------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/math/round.cpp b/libc/src/math/round.cpp
index 6031ed29e6da..d8d5d29a7b23 100644
--- a/libc/src/math/round.cpp
+++ b/libc/src/math/round.cpp
@@ -1,4 +1,4 @@
-//===---------------------- Implementation of round -----------------------===//
+//===-- Implementation of round -------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/math/round.h b/libc/src/math/round.h
index 99f890b4ffad..bb09ea4a77c5 100644
--- a/libc/src/math/round.h
+++ b/libc/src/math/round.h
@@ -1,4 +1,4 @@
-//===------------------ Implementation header for round -------------------===//
+//===-- Implementation header for round -------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/math/round_redirector.cpp b/libc/src/math/round_redirector.cpp
index c2847c8228c3..67cd8f7c585f 100644
--- a/libc/src/math/round_redirector.cpp
+++ b/libc/src/math/round_redirector.cpp
@@ -1,4 +1,4 @@
-//===----------------  Implementation of round redirector -----------------===//
+//===-- Implementation of round redirector --------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/__restore.cpp b/libc/src/signal/linux/__restore.cpp
index 8b3e5c7f4b5b..8ce848f4960b 100644
--- a/libc/src/signal/linux/__restore.cpp
+++ b/libc/src/signal/linux/__restore.cpp
@@ -1,4 +1,4 @@
-//===----------------- Linux implementation of __restore_rt ---------------===//
+//===-- Linux implementation of __restore_rt ------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/raise.cpp b/libc/src/signal/linux/raise.cpp
index ad79bd282300..15f748cd09a2 100644
--- a/libc/src/signal/linux/raise.cpp
+++ b/libc/src/signal/linux/raise.cpp
@@ -1,4 +1,4 @@
-//===------------------ Linux implementation of signal --------------------===//
+//===-- Linux implementation of signal ------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/sigaction.cpp b/libc/src/signal/linux/sigaction.cpp
index 18caeacb4819..47e907249abc 100644
--- a/libc/src/signal/linux/sigaction.cpp
+++ b/libc/src/signal/linux/sigaction.cpp
@@ -1,4 +1,4 @@
-//===----------------- Linux implementation of sigaction ------------------===//
+//===-- Linux implementation of sigaction ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/sigaddset.cpp b/libc/src/signal/linux/sigaddset.cpp
index bd6c02def82d..2afb83cb3aa3 100644
--- a/libc/src/signal/linux/sigaddset.cpp
+++ b/libc/src/signal/linux/sigaddset.cpp
@@ -1,4 +1,4 @@
-//===----------------- Linux implementation of sigaddset ------------------===//
+//===-- Linux implementation of sigaddset ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/sigdelset.cpp b/libc/src/signal/linux/sigdelset.cpp
index b04ec56cc33e..7eb3a602326c 100644
--- a/libc/src/signal/linux/sigdelset.cpp
+++ b/libc/src/signal/linux/sigdelset.cpp
@@ -1,4 +1,4 @@
-//===----------------- Linux implementation of sigdelset ------------------===//
+//===-- Linux implementation of sigdelset ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/sigemptyset.cpp b/libc/src/signal/linux/sigemptyset.cpp
index 6114900d3650..d5818327bea0 100644
--- a/libc/src/signal/linux/sigemptyset.cpp
+++ b/libc/src/signal/linux/sigemptyset.cpp
@@ -1,4 +1,4 @@
-//===--------------- Linux implementation of sigemptyset ------------------===//
+//===-- Linux implementation of sigemptyset -------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/sigfillset.cpp b/libc/src/signal/linux/sigfillset.cpp
index 6c10da334993..bb4281a0a8aa 100644
--- a/libc/src/signal/linux/sigfillset.cpp
+++ b/libc/src/signal/linux/sigfillset.cpp
@@ -1,4 +1,4 @@
-//===----------------- Linux implementation of sigfillset -----------------===//
+//===-- Linux implementation of sigfillset --------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/signal.cpp b/libc/src/signal/linux/signal.cpp
index 5a7a12d6c842..5de51ea0c18d 100644
--- a/libc/src/signal/linux/signal.cpp
+++ b/libc/src/signal/linux/signal.cpp
@@ -1,4 +1,4 @@
-//===------------------ Linux implementation of signal --------------------===//
+//===-- Linux implementation of signal ------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/signal.h b/libc/src/signal/linux/signal.h
index 9a02ea7d847d..89b471b4079e 100644
--- a/libc/src/signal/linux/signal.h
+++ b/libc/src/signal/linux/signal.h
@@ -1,4 +1,4 @@
-//===----------------- Internal header for Linux signals ------------------===//
+//===-- Internal header for Linux signals -----------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/linux/sigprocmask.cpp b/libc/src/signal/linux/sigprocmask.cpp
index 18f238b6c97e..e4c7059e3a3b 100644
--- a/libc/src/signal/linux/sigprocmask.cpp
+++ b/libc/src/signal/linux/sigprocmask.cpp
@@ -1,4 +1,4 @@
-//===--------------- Linux implementation of sigprocmask ------------------===//
+//===-- Linux implementation of sigprocmask -------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/raise.h b/libc/src/signal/raise.h
index 9cc89cc3907d..00fd4c8fbda9 100644
--- a/libc/src/signal/raise.h
+++ b/libc/src/signal/raise.h
@@ -1,4 +1,4 @@
-//===------------- Implementation header for raise function ------ *-C++-* ===//
+//===-- Implementation header for raise function ----------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/sigaction.h b/libc/src/signal/sigaction.h
index c2e8f4b39762..105ab1b250cc 100644
--- a/libc/src/signal/sigaction.h
+++ b/libc/src/signal/sigaction.h
@@ -1,4 +1,4 @@
-//===------------ Implementation header for sigaction --------*- C++ -*--===//
+//===-- Implementation header for sigaction ---------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/sigaddset.h b/libc/src/signal/sigaddset.h
index d25e6dc5f7ea..40cec9f00c64 100644
--- a/libc/src/signal/sigaddset.h
+++ b/libc/src/signal/sigaddset.h
@@ -1,4 +1,4 @@
-//===------------- Implementation header for sigaddset ---------*- C++ -*--===//
+//===-- Implementation header for sigaddset ---------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/sigdelset.h b/libc/src/signal/sigdelset.h
index 05cc47ce4b9c..a005d9c0aa13 100644
--- a/libc/src/signal/sigdelset.h
+++ b/libc/src/signal/sigdelset.h
@@ -1,4 +1,4 @@
-//===------------- Implementation header for sigdelset ---------*- C++ -*--===//
+//===-- Implementation header for sigdelset ---------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/sigemptyset.h b/libc/src/signal/sigemptyset.h
index 6f991633fbbd..0651c7302f99 100644
--- a/libc/src/signal/sigemptyset.h
+++ b/libc/src/signal/sigemptyset.h
@@ -1,4 +1,4 @@
-//===------------ Implementation header for sigemptyset --------*- C++ -*--===//
+//===-- Implementation header for sigemptyset -------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/sigfillset.h b/libc/src/signal/sigfillset.h
index facf67919a9f..ed3612ce4ed5 100644
--- a/libc/src/signal/sigfillset.h
+++ b/libc/src/signal/sigfillset.h
@@ -1,4 +1,4 @@
-//===------------- Implementation header for sigfillset --------*- C++ -*--===//
+//===-- Implementation header for sigfillset --------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/signal.h b/libc/src/signal/signal.h
index fb4e12d89ec5..4315497e2cf8 100644
--- a/libc/src/signal/signal.h
+++ b/libc/src/signal/signal.h
@@ -1,4 +1,4 @@
-//===------------- Implementation header for signal ------------*- C++ -*--===//
+//===-- Implementation header for signal ------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/signal/sigprocmask.h b/libc/src/signal/sigprocmask.h
index 0e959ca2ea83..353c0c84b38a 100644
--- a/libc/src/signal/sigprocmask.h
+++ b/libc/src/signal/sigprocmask.h
@@ -1,4 +1,4 @@
-//===------------ Implementation header for sigprocmask --------*- C++ -*--===//
+//===-- Implementation header for sigprocmask -------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/stdlib/_Exit.h b/libc/src/stdlib/_Exit.h
index 4ac5dd850c07..5389973ffc5d 100644
--- a/libc/src/stdlib/_Exit.h
+++ b/libc/src/stdlib/_Exit.h
@@ -1,4 +1,4 @@
-//===----------------- Implementation header for _Exit ---------*- C++ -*--===//
+//===-- Implementation header for _Exit -------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/stdlib/abort.cpp b/libc/src/stdlib/abort.cpp
index 4012ec09562c..e21e74f7b9aa 100644
--- a/libc/src/stdlib/abort.cpp
+++ b/libc/src/stdlib/abort.cpp
@@ -1,4 +1,4 @@
-//===---------------------- Implementation of abort -----------------------===//
+//===-- Implementation of abort -------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/stdlib/abort.h b/libc/src/stdlib/abort.h
index 4bf347bb805f..17f954481663 100644
--- a/libc/src/stdlib/abort.h
+++ b/libc/src/stdlib/abort.h
@@ -1,4 +1,4 @@
-//===----------------- Implementation header for abort ---------*- C++ -*--===//
+//===-- Implementation header for abort -------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/memcpy.cpp b/libc/src/string/memcpy.cpp
index 216e22938e7f..2dee707bdc4e 100644
--- a/libc/src/string/memcpy.cpp
+++ b/libc/src/string/memcpy.cpp
@@ -1,4 +1,4 @@
-//===--------------------- Implementation of memcpy -----------------------===//
+//===-- Implementation of memcpy ------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/memcpy.h b/libc/src/string/memcpy.h
index a3ae4d40c874..39ca4a46f7f3 100644
--- a/libc/src/string/memcpy.h
+++ b/libc/src/string/memcpy.h
@@ -1,4 +1,4 @@
-//===----------------- Implementation header for memcpy -------------------===//
+//===-- Implementation header for memcpy ------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/memcpy_arch_specific.h.def b/libc/src/string/memcpy_arch_specific.h.def
index a9bb35223ef8..8b991e804000 100644
--- a/libc/src/string/memcpy_arch_specific.h.def
+++ b/libc/src/string/memcpy_arch_specific.h.def
@@ -1,4 +1,4 @@
-//===-------------- Implementation of arch specific memcpy ----------------===//
+//===-- Implementation of arch specific memcpy ----------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/memory_utils/cacheline_size.h.def b/libc/src/string/memory_utils/cacheline_size.h.def
index 43583b53ffd2..d2c05f1aebc6 100644
--- a/libc/src/string/memory_utils/cacheline_size.h.def
+++ b/libc/src/string/memory_utils/cacheline_size.h.def
@@ -1,4 +1,4 @@
-//===---------------------- Cacheline Size Constant -----------------------===//
+//===-- Cacheline Size Constant -------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/memory_utils/memcpy_utils.h b/libc/src/string/memory_utils/memcpy_utils.h
index f6f283e3730d..497d8524aa5d 100644
--- a/libc/src/string/memory_utils/memcpy_utils.h
+++ b/libc/src/string/memory_utils/memcpy_utils.h
@@ -1,4 +1,4 @@
-//===---------------------------- Memcpy utils ----------------------------===//
+//===-- Memcpy utils --------------------------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/memory_utils/utils.h b/libc/src/string/memory_utils/utils.h
index af9b6aeeee51..401c7767a59e 100644
--- a/libc/src/string/memory_utils/utils.h
+++ b/libc/src/string/memory_utils/utils.h
@@ -1,4 +1,4 @@
-//===---------------------------- Memory utils ----------------------------===//
+//===-- Memory utils --------------------------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/strcat.cpp b/libc/src/string/strcat.cpp
index 4fc10da3453b..8392d23cda03 100644
--- a/libc/src/string/strcat.cpp
+++ b/libc/src/string/strcat.cpp
@@ -1,4 +1,4 @@
-//===-------------------- Implementation of strcat -----------------------===//
+//===-- Implementation of strcat ------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/strcat.h b/libc/src/string/strcat.h
index ea88c23e9be5..e068199fc6b9 100644
--- a/libc/src/string/strcat.h
+++ b/libc/src/string/strcat.h
@@ -1,4 +1,4 @@
-//===----------------- Implementation header for strcat -------------------===//
+//===-- Implementation header for strcat ------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/strcpy.cpp b/libc/src/string/strcpy.cpp
index b3cdeb7114ad..33f9417e083a 100644
--- a/libc/src/string/strcpy.cpp
+++ b/libc/src/string/strcpy.cpp
@@ -1,4 +1,4 @@
-//===-------------------- Implementation of strcpy -----------------------===//
+//===-- Implementation of strcpy ------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/strcpy.h b/libc/src/string/strcpy.h
index 88cb481f13cd..033c2a3e734a 100644
--- a/libc/src/string/strcpy.h
+++ b/libc/src/string/strcpy.h
@@ -1,4 +1,4 @@
-//===----------------- Implementation header for strcpy -------------------===//
+//===-- Implementation header for strcpy ------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/strlen.cpp b/libc/src/string/strlen.cpp
index ec4b2a0c7a70..0b7597ec52b6 100644
--- a/libc/src/string/strlen.cpp
+++ b/libc/src/string/strlen.cpp
@@ -1,4 +1,4 @@
-//===-------------------- Implementation of strlen ------------------------===//
+//===-- Implementation of strlen ------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/string/strlen.h b/libc/src/string/strlen.h
index 32f1d9a8ba94..923d1340d26b 100644
--- a/libc/src/string/strlen.h
+++ b/libc/src/string/strlen.h
@@ -1,4 +1,4 @@
-//===----------------- Implementation header for strlen -------------------===//
+//===-- Implementation header for strlen ------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/sys/mman/mmap.h b/libc/src/sys/mman/mmap.h
index 11107b06442c..c7aa404f6585 100644
--- a/libc/src/sys/mman/mmap.h
+++ b/libc/src/sys/mman/mmap.h
@@ -1,4 +1,4 @@
-//===-------------- Implementation header for mmap function ------ *-C++-* ===//
+//===-- Implementation header for mmap function -----------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/sys/mman/munmap.h b/libc/src/sys/mman/munmap.h
index 20ba50e5d2c7..ba272dc45e15 100644
--- a/libc/src/sys/mman/munmap.h
+++ b/libc/src/sys/mman/munmap.h
@@ -1,4 +1,4 @@
-//===-------------- Implementation header for mumap function ----- *-C++-* ===//
+//===-- Implementation header for mumap function ----------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/linux/mtx_init.cpp b/libc/src/threads/linux/mtx_init.cpp
index 26b4dfadebcb..329843c10c6a 100644
--- a/libc/src/threads/linux/mtx_init.cpp
+++ b/libc/src/threads/linux/mtx_init.cpp
@@ -1,4 +1,4 @@
-//===----------- Linux implementation of the mtx_init function ------------===//
+//===-- Linux implementation of the mtx_init function ---------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/linux/mtx_lock.cpp b/libc/src/threads/linux/mtx_lock.cpp
index a4171ded1611..44a82dfaa70c 100644
--- a/libc/src/threads/linux/mtx_lock.cpp
+++ b/libc/src/threads/linux/mtx_lock.cpp
@@ -1,4 +1,4 @@
-//===----------- Linux implementation of the mtx_lock function ------------===//
+//===-- Linux implementation of the mtx_lock function ---------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/linux/mtx_unlock.cpp b/libc/src/threads/linux/mtx_unlock.cpp
index 178363743a65..25170638968a 100644
--- a/libc/src/threads/linux/mtx_unlock.cpp
+++ b/libc/src/threads/linux/mtx_unlock.cpp
@@ -1,4 +1,4 @@
-//===---------- Linux implementation of the mtx_unlock function -----------===//
+//===-- Linux implementation of the mtx_unlock function -------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/linux/thrd_create.cpp b/libc/src/threads/linux/thrd_create.cpp
index b7d2960084d5..946000eb17d4 100644
--- a/libc/src/threads/linux/thrd_create.cpp
+++ b/libc/src/threads/linux/thrd_create.cpp
@@ -1,4 +1,4 @@
-//===---------- Linux implementation of the thrd_create function ----------===//
+//===-- Linux implementation of the thrd_create function ------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/linux/thrd_join.cpp b/libc/src/threads/linux/thrd_join.cpp
index c56ed3b5c49f..18e6b6fcfa98 100644
--- a/libc/src/threads/linux/thrd_join.cpp
+++ b/libc/src/threads/linux/thrd_join.cpp
@@ -1,4 +1,4 @@
-//===----------- Linux implementation of the thrd_join function -----------===//
+//===-- Linux implementation of the thrd_join function --------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/linux/thread_start_args.h.def b/libc/src/threads/linux/thread_start_args.h.def
index 781a1de56fe0..cc990a37548b 100644
--- a/libc/src/threads/linux/thread_start_args.h.def
+++ b/libc/src/threads/linux/thread_start_args.h.def
@@ -1,4 +1,4 @@
-//===---- Implementation of the get_start_args_addr function -----*- C++ -*===//
+//===-- Implementation of the get_start_args_addr function ------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/mtx_init.h b/libc/src/threads/mtx_init.h
index dcd939b140dc..0286ab15b236 100644
--- a/libc/src/threads/mtx_init.h
+++ b/libc/src/threads/mtx_init.h
@@ -1,4 +1,4 @@
-//===---------- Implementation header for mtx_init function ------ *-C++-* ===//
+//===-- Implementation header for mtx_init function -------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/mtx_lock.h b/libc/src/threads/mtx_lock.h
index 2f27f5ec29aa..fee6285b8dae 100644
--- a/libc/src/threads/mtx_lock.h
+++ b/libc/src/threads/mtx_lock.h
@@ -1,4 +1,4 @@
-//===---------- Implementation header for mtx_lock function ------ *-C++-* ===//
+//===-- Implementation header for mtx_lock function -------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/mtx_unlock.h b/libc/src/threads/mtx_unlock.h
index a2172aa95d15..b7ae913170a4 100644
--- a/libc/src/threads/mtx_unlock.h
+++ b/libc/src/threads/mtx_unlock.h
@@ -1,4 +1,4 @@
-//===-------- Implementation header for mtx_unlock function ------ *-C++-* ===//
+//===-- Implementation header for mtx_unlock function -----------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/thrd_create.h b/libc/src/threads/thrd_create.h
index 311929020905..2ad3c7c737b2 100644
--- a/libc/src/threads/thrd_create.h
+++ b/libc/src/threads/thrd_create.h
@@ -1,4 +1,4 @@
-//===------- Implementation header for thrd_create function ------ *-C++-* ===//
+//===-- Implementation header for thrd_create function ----------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/threads/thrd_join.h b/libc/src/threads/thrd_join.h
index 495b049d5f06..9df4644423d8 100644
--- a/libc/src/threads/thrd_join.h
+++ b/libc/src/threads/thrd_join.h
@@ -1,4 +1,4 @@
-//===-------- Implementation header for thrd_join function ------- *-C++-* ===//
+//===-- Implementation header for thrd_join function ------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/config/linux/x86_64/syscall_test.cpp b/libc/test/config/linux/x86_64/syscall_test.cpp
index 8db7a85256e7..398ab5a1203c 100644
--- a/libc/test/config/linux/x86_64/syscall_test.cpp
+++ b/libc/test/config/linux/x86_64/syscall_test.cpp
@@ -1,4 +1,4 @@
-//===------------------ Unittests for x86_64 syscalls ---------------------===//
+//===-- Unittests for x86_64 syscalls -------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/loader/linux/args_test.cpp b/libc/test/loader/linux/args_test.cpp
index a3c58526b143..47bdbba542cf 100644
--- a/libc/test/loader/linux/args_test.cpp
+++ b/libc/test/loader/linux/args_test.cpp
@@ -1,4 +1,4 @@
-//===----------------- Loader test to check args to main ------------------===//
+//===-- Loader test to check args to main ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/loader/linux/main_without_args.cpp b/libc/test/loader/linux/main_without_args.cpp
index d08ee3b8b744..c2f28bf25f42 100644
--- a/libc/test/loader/linux/main_without_args.cpp
+++ b/libc/test/loader/linux/main_without_args.cpp
@@ -1,4 +1,4 @@
-//===----------------- Loader test for main without args ------------------===//
+//===-- Loader test for main without args ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/loader/linux/main_without_envp.cpp b/libc/test/loader/linux/main_without_envp.cpp
index ec46a64df582..70d78c0d921d 100644
--- a/libc/test/loader/linux/main_without_envp.cpp
+++ b/libc/test/loader/linux/main_without_envp.cpp
@@ -1,4 +1,4 @@
-//===----------------- Loader test for main without envp ------------------===//
+//===-- Loader test for main without envp ---------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/assert/assert_test.cpp b/libc/test/src/assert/assert_test.cpp
index 7d96f98afd7e..035c9628a679 100644
--- a/libc/test/src/assert/assert_test.cpp
+++ b/libc/test/src/assert/assert_test.cpp
@@ -1,4 +1,4 @@
-//===---------------------- Unittests for assert --------------------------===//
+//===-- Unittests for assert ----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/errno/errno_test.cpp b/libc/test/src/errno/errno_test.cpp
index 46f0c2ff882a..b717a37b34a7 100644
--- a/libc/test/src/errno/errno_test.cpp
+++ b/libc/test/src/errno/errno_test.cpp
@@ -1,4 +1,4 @@
-//===---------------------- Unittests for errno --------------------------===//
+//===-- Unittests for errno -----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/signal/raise_test.cpp b/libc/test/src/signal/raise_test.cpp
index eea890ae6b74..08f5b60116c8 100644
--- a/libc/test/src/signal/raise_test.cpp
+++ b/libc/test/src/signal/raise_test.cpp
@@ -1,4 +1,4 @@
-//===----------------------- Unittests for raise --------------------------===//
+//===-- Unittests for raise -----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/signal/sigaction_test.cpp b/libc/test/src/signal/sigaction_test.cpp
index fc7d143a10df..726d76b3795d 100644
--- a/libc/test/src/signal/sigaction_test.cpp
+++ b/libc/test/src/signal/sigaction_test.cpp
@@ -1,4 +1,4 @@
-//===----------------------- Unittests for sigaction ----------------------===//
+//===-- Unittests for sigaction -------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/signal/sigaddset_test.cpp b/libc/test/src/signal/sigaddset_test.cpp
index 5a5fe179f6a4..d0e67ea01e95 100644
--- a/libc/test/src/signal/sigaddset_test.cpp
+++ b/libc/test/src/signal/sigaddset_test.cpp
@@ -1,4 +1,4 @@
-//===----------------------- Unittests for sigaddset ----------------------===//
+//===-- Unittests for sigaddset -------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/signal/sigdelset_test.cpp b/libc/test/src/signal/sigdelset_test.cpp
index d6e259ca4ca0..48e0e6f3f5c4 100644
--- a/libc/test/src/signal/sigdelset_test.cpp
+++ b/libc/test/src/signal/sigdelset_test.cpp
@@ -1,4 +1,4 @@
-//===--------------------- Unittests for sigdelset ------------------------===//
+//===-- Unittests for sigdelset -------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/signal/sigfillset_test.cpp b/libc/test/src/signal/sigfillset_test.cpp
index 35e6721ab6c6..c21bf137d283 100644
--- a/libc/test/src/signal/sigfillset_test.cpp
+++ b/libc/test/src/signal/sigfillset_test.cpp
@@ -1,4 +1,4 @@
-//===-------------------- Unittests for sigfillset ------------------------===//
+//===-- Unittests for sigfillset ------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/signal/signal_test.cpp b/libc/test/src/signal/signal_test.cpp
index 6be38fc27bdc..8db26e91d670 100644
--- a/libc/test/src/signal/signal_test.cpp
+++ b/libc/test/src/signal/signal_test.cpp
@@ -1,4 +1,4 @@
-//===------------------------ Unittests for signal ------------------------===//
+//===-- Unittests for signal ----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/signal/sigprocmask_test.cpp b/libc/test/src/signal/sigprocmask_test.cpp
index 2f3b5cd516ea..824415b7267c 100644
--- a/libc/test/src/signal/sigprocmask_test.cpp
+++ b/libc/test/src/signal/sigprocmask_test.cpp
@@ -1,4 +1,4 @@
-//===--------------------- Unittests for sigprocmask ----------------------===//
+//===-- Unittests for sigprocmask -----------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/stdlib/_Exit_test.cpp b/libc/test/src/stdlib/_Exit_test.cpp
index 49878bfd506e..6593a874cd9d 100644
--- a/libc/test/src/stdlib/_Exit_test.cpp
+++ b/libc/test/src/stdlib/_Exit_test.cpp
@@ -1,4 +1,4 @@
-//===----------------------- Unittests for _Exit --------------------------===//
+//===-- Unittests for _Exit -----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/stdlib/abort_test.cpp b/libc/test/src/stdlib/abort_test.cpp
index cefb5d803687..d5eec4b6ecf3 100644
--- a/libc/test/src/stdlib/abort_test.cpp
+++ b/libc/test/src/stdlib/abort_test.cpp
@@ -1,4 +1,4 @@
-//===----------------------- Unittests for abort --------------------------===//
+//===-- Unittests for abort -----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/string/memory_utils/memcpy_utils_test.cpp b/libc/test/src/string/memory_utils/memcpy_utils_test.cpp
index 813e86fe65db..491c632216b7 100644
--- a/libc/test/src/string/memory_utils/memcpy_utils_test.cpp
+++ b/libc/test/src/string/memory_utils/memcpy_utils_test.cpp
@@ -1,4 +1,4 @@
-//===-------------------- Unittests for memory_utils ----------------------===//
+//===-- Unittests for memory_utils ----------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/string/memory_utils/utils_test.cpp b/libc/test/src/string/memory_utils/utils_test.cpp
index c1564334c640..b4f8188a3fa3 100644
--- a/libc/test/src/string/memory_utils/utils_test.cpp
+++ b/libc/test/src/string/memory_utils/utils_test.cpp
@@ -1,4 +1,4 @@
-//===-------------------- Unittests for memory_utils ----------------------===//
+//===-- Unittests for memory_utils ----------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/string/strcat_test.cpp b/libc/test/src/string/strcat_test.cpp
index 599caf58ab0a..b32d5c7071ec 100644
--- a/libc/test/src/string/strcat_test.cpp
+++ b/libc/test/src/string/strcat_test.cpp
@@ -1,4 +1,4 @@
-//===---------------------- Unittests for strcat --------------------------===//
+//===-- Unittests for strcat ----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/string/strcpy_test.cpp b/libc/test/src/string/strcpy_test.cpp
index 350ff5c57800..5a4b15aa94d0 100644
--- a/libc/test/src/string/strcpy_test.cpp
+++ b/libc/test/src/string/strcpy_test.cpp
@@ -1,4 +1,4 @@
-//===----------------------- Unittests for strcpy -------------------------===//
+//===-- Unittests for strcpy ----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/string/strlen_test.cpp b/libc/test/src/string/strlen_test.cpp
index f2df81dbf697..1e148a546ad3 100644
--- a/libc/test/src/string/strlen_test.cpp
+++ b/libc/test/src/string/strlen_test.cpp
@@ -1,4 +1,4 @@
-//===----------------------- Unittests for strlen -------------------------===//
+//===-- Unittests for strlen ----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/sys/mman/linux/mmap_test.cpp b/libc/test/src/sys/mman/linux/mmap_test.cpp
index 9bb15cd37cf6..38478c77b18b 100644
--- a/libc/test/src/sys/mman/linux/mmap_test.cpp
+++ b/libc/test/src/sys/mman/linux/mmap_test.cpp
@@ -1,4 +1,4 @@
-//===------------------ Unittests for mmap and munmap ---------------------===//
+//===-- Unittests for mmap and munmap -------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/threads/mtx_test.cpp b/libc/test/src/threads/mtx_test.cpp
index 1ceeb3060c01..2015d4b06f85 100644
--- a/libc/test/src/threads/mtx_test.cpp
+++ b/libc/test/src/threads/mtx_test.cpp
@@ -1,4 +1,4 @@
-//===---------------------- Unittests for mtx_t ---------------------------===//
+//===-- Unittests for mtx_t -----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/threads/thrd_test.cpp b/libc/test/src/threads/thrd_test.cpp
index be9e410a46aa..1b0e54353dcf 100644
--- a/libc/test/src/threads/thrd_test.cpp
+++ b/libc/test/src/threads/thrd_test.cpp
@@ -1,4 +1,4 @@
-//===---------------------- Unittests for thrd_t --------------------------===//
+//===-- Unittests for thrd_t ----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/CPP/Array.h b/libc/utils/CPP/Array.h
index f81eeb253566..c774a9f793d8 100644
--- a/libc/utils/CPP/Array.h
+++ b/libc/utils/CPP/Array.h
@@ -1,4 +1,4 @@
-//===--------- A self contained equivalent of std::array --------*- C++ -*-===//
+//===-- A self contained equivalent of std::array ---------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -6,6 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_LIBC_UTILS_CPP_ARRAY_H
+#define LLVM_LIBC_UTILS_CPP_ARRAY_H
+
 #include <stddef.h> // For size_t.
 
 namespace __llvm_libc {
@@ -45,3 +48,5 @@ template <class T, size_t N> struct Array {
 
 } // namespace cpp
 } // namespace __llvm_libc
+
+#endif // LLVM_LIBC_UTILS_CPP_ARRAY_H

diff  --git a/libc/utils/CPP/ArrayRef.h b/libc/utils/CPP/ArrayRef.h
index ea58245daa1b..bad415eba74d 100644
--- a/libc/utils/CPP/ArrayRef.h
+++ b/libc/utils/CPP/ArrayRef.h
@@ -1,4 +1,4 @@
-//===----------------- Self contained ArrayRef type -------------*- C++ -*-===//
+//===-- Self contained ArrayRef type ----------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -6,6 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_LIBC_UTILS_CPP_ARRAYREF_H
+#define LLVM_LIBC_UTILS_CPP_ARRAYREF_H
+
 #include "Array.h"
 
 #include <stddef.h> // For size_t.
@@ -88,3 +91,5 @@ template <typename T> class MutableArrayRef : public ArrayRef<T> {
 
 } // namespace cpp
 } // namespace __llvm_libc
+
+#endif // LLVM_LIBC_UTILS_CPP_ARRAYREF_H

diff  --git a/libc/utils/CPP/StringRef.h b/libc/utils/CPP/StringRef.h
index 60f43b595e03..5ac6925dbab1 100644
--- a/libc/utils/CPP/StringRef.h
+++ b/libc/utils/CPP/StringRef.h
@@ -1,4 +1,4 @@
-//===----------------- A standalone StringRef type  -------------*- C++ -*-===//
+//===-- A standalone StringRef type -----------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -6,6 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_LIBC_UTILS_CPP_STRINGREF_H
+#define LLVM_LIBC_UTILS_CPP_STRINGREF_H
+
 #include "ArrayRef.h"
 
 namespace __llvm_libc {
@@ -17,3 +20,5 @@ class StringRef : public ArrayRef<char> {
 
 } // namespace cpp
 } // namespace __llvm_libc
+
+#endif // LLVM_LIBC_UTILS_CPP_STRINGREF_H

diff  --git a/libc/utils/CPP/TypeTraits.h b/libc/utils/CPP/TypeTraits.h
index 3804d1d53f7e..81e8e68f09d6 100644
--- a/libc/utils/CPP/TypeTraits.h
+++ b/libc/utils/CPP/TypeTraits.h
@@ -1,4 +1,4 @@
-//===----------------- Self contained C++ type traits -----------*- C++ -*-===//
+//===-- Self contained C++ type traits --------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -6,6 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_LIBC_UTILS_CPP_TYPETRAITS_H
+#define LLVM_LIBC_UTILS_CPP_TYPETRAITS_H
+
 namespace __llvm_libc {
 namespace cpp {
 
@@ -45,3 +48,5 @@ template <typename T> struct IsSame<T, T> : public TrueValue {};
 
 } // namespace cpp
 } // namespace __llvm_libc
+
+#endif // LLVM_LIBC_UTILS_CPP_TYPETRAITS_H

diff  --git a/libc/utils/HdrGen/Command.cpp b/libc/utils/HdrGen/Command.cpp
index 81c68301a6de..04462c18aac3 100644
--- a/libc/utils/HdrGen/Command.cpp
+++ b/libc/utils/HdrGen/Command.cpp
@@ -1,4 +1,4 @@
-//===-------- Base class for header generation commands ---------*- C++ -*-===//
+//===-- Base class for header generation commands -------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/HdrGen/Command.h b/libc/utils/HdrGen/Command.h
index 302b40ca6cb3..edc40298d97d 100644
--- a/libc/utils/HdrGen/Command.h
+++ b/libc/utils/HdrGen/Command.h
@@ -1,4 +1,4 @@
-//===-------- Base class for header generation commands ---------*- C++ -*-===//
+//===-- Base class for header generation commands ---------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/HdrGen/Generator.cpp b/libc/utils/HdrGen/Generator.cpp
index 7ad93e9f3752..07f10da9db5e 100644
--- a/libc/utils/HdrGen/Generator.cpp
+++ b/libc/utils/HdrGen/Generator.cpp
@@ -1,4 +1,4 @@
-//===---- Implementation of the main header generation class -----*- C++ -*===//
+//===-- Implementation of the main header generation class ----------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/HdrGen/Generator.h b/libc/utils/HdrGen/Generator.h
index 84197c491d05..53080c09f538 100644
--- a/libc/utils/HdrGen/Generator.h
+++ b/libc/utils/HdrGen/Generator.h
@@ -1,4 +1,4 @@
-//===------------- - The main header generation class -----------*- C++ -*-===//
+//===-- The main header generation class ------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/HdrGen/IncludeFileCommand.cpp b/libc/utils/HdrGen/IncludeFileCommand.cpp
index bffaa0f91db7..02cfb65b06b2 100644
--- a/libc/utils/HdrGen/IncludeFileCommand.cpp
+++ b/libc/utils/HdrGen/IncludeFileCommand.cpp
@@ -1,4 +1,4 @@
-//===----------- Implementation of IncludeFileCommand -----------*- C++ -*-===//
+//===-- Implementation of IncludeFileCommand ------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/HdrGen/IncludeFileCommand.h b/libc/utils/HdrGen/IncludeFileCommand.h
index d8875e31c0ea..240e803a7dc2 100644
--- a/libc/utils/HdrGen/IncludeFileCommand.h
+++ b/libc/utils/HdrGen/IncludeFileCommand.h
@@ -1,4 +1,4 @@
-//===-------- Class which implements the %%include_file command -*- C++ -*-===//
+//===-- Class which implements the %%include_file command -------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/HdrGen/Main.cpp b/libc/utils/HdrGen/Main.cpp
index 57c3d81e558b..2dce804ea463 100644
--- a/libc/utils/HdrGen/Main.cpp
+++ b/libc/utils/HdrGen/Main.cpp
@@ -1,4 +1,4 @@
-//===---------------- "main" function of libc-hdrgen ------------*- C++ -*-===//
+//===-- "main" function of libc-hdrgen ------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/HdrGen/PublicAPICommand.cpp b/libc/utils/HdrGen/PublicAPICommand.cpp
index 15263e580c14..8c260b415879 100644
--- a/libc/utils/HdrGen/PublicAPICommand.cpp
+++ b/libc/utils/HdrGen/PublicAPICommand.cpp
@@ -1,4 +1,4 @@
-//===--------------- Implementation of PublicAPICommand ----------*-C++ -*-===//
+//===-- Implementation of PublicAPICommand --------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/HdrGen/PublicAPICommand.h b/libc/utils/HdrGen/PublicAPICommand.h
index 253cd13f676c..45ea1cf9889e 100644
--- a/libc/utils/HdrGen/PublicAPICommand.h
+++ b/libc/utils/HdrGen/PublicAPICommand.h
@@ -1,4 +1,4 @@
-//===---------- Implementation of PublicAPICommand --------------*- C++ -*-===//
+//===-- Implementation of PublicAPICommand ----------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -6,6 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#ifndef LLVM_LIBC_UTILS_HDRGEN_PUBLICAPICOMMAND_H
+#define LLVM_LIBC_UTILS_HDRGEN_PUBLICAPICOMMAND_H
+
 #include "Command.h"
 
 #include "llvm/ADT/StringRef.h"
@@ -34,3 +37,5 @@ class PublicAPICommand : public Command {
 };
 
 } // namespace llvm_libc
+
+#endif // LLVM_LIBC_UTILS_HDRGEN_PUBLICAPICOMMAND_H

diff  --git a/libc/utils/UnitTest/ErrnoSetterMatcher.h b/libc/utils/UnitTest/ErrnoSetterMatcher.h
index 2c09ab64c5a4..d676ee9cbc91 100644
--- a/libc/utils/UnitTest/ErrnoSetterMatcher.h
+++ b/libc/utils/UnitTest/ErrnoSetterMatcher.h
@@ -1,4 +1,4 @@
-//===--------------------- ErrnoSetterMatcher.h -----------------*- C++ -*-===//
+//===-- ErrnoSetterMatcher.h ------------------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/UnitTest/Test.cpp b/libc/utils/UnitTest/Test.cpp
index 8e85cd066eed..b2b70c8ad30a 100644
--- a/libc/utils/UnitTest/Test.cpp
+++ b/libc/utils/UnitTest/Test.cpp
@@ -1,4 +1,4 @@
-//===--------- Implementation of the base class for libc unittests --------===//
+//===-- Implementation of the base class for libc unittests ---------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/UnitTest/Test.h b/libc/utils/UnitTest/Test.h
index cd1489446b92..fbed1d6a6606 100644
--- a/libc/utils/UnitTest/Test.h
+++ b/libc/utils/UnitTest/Test.h
@@ -1,4 +1,4 @@
-//===------------------ Base class for libc unittests -----------*- C++ -*-===//
+//===-- Base class for libc unittests ---------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/JSON.cpp b/libc/utils/benchmarks/JSON.cpp
index 304cb1876a7f..175aa2209ef2 100644
--- a/libc/utils/benchmarks/JSON.cpp
+++ b/libc/utils/benchmarks/JSON.cpp
@@ -1,4 +1,4 @@
-//===-------- JSON serialization routines ---------------------------------===//
+//===-- JSON serialization routines ---------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/JSON.h b/libc/utils/benchmarks/JSON.h
index a4f220f0a299..b24a88480af8 100644
--- a/libc/utils/benchmarks/JSON.h
+++ b/libc/utils/benchmarks/JSON.h
@@ -1,4 +1,4 @@
-//===-------- JSON serialization routines -----------------------*- C++ -*-===//
+//===-- JSON serialization routines -----------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/JSONTest.cpp b/libc/utils/benchmarks/JSONTest.cpp
index a876530bf77e..4ca9bc322fac 100644
--- a/libc/utils/benchmarks/JSONTest.cpp
+++ b/libc/utils/benchmarks/JSONTest.cpp
@@ -1,3 +1,11 @@
+//===-- JSON Tests --------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
 #include "JSON.h"
 #include "LibcBenchmark.h"
 #include "LibcMemoryBenchmark.h"

diff  --git a/libc/utils/benchmarks/LibcBenchmark.cpp b/libc/utils/benchmarks/LibcBenchmark.cpp
index 5ae18874c27d..b1ab79ec1e3c 100644
--- a/libc/utils/benchmarks/LibcBenchmark.cpp
+++ b/libc/utils/benchmarks/LibcBenchmark.cpp
@@ -1,4 +1,4 @@
-//===-------- `Benchmark` function ----------------------------------------===//
+//===-- Benchmark function -----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/LibcBenchmark.h b/libc/utils/benchmarks/LibcBenchmark.h
index 6f6d1f48968f..46db9a1d0b62 100644
--- a/libc/utils/benchmarks/LibcBenchmark.h
+++ b/libc/utils/benchmarks/LibcBenchmark.h
@@ -1,4 +1,4 @@
-//===-------- `Benchmark` function ------------------------------*- C++ -*-===//
+//===-- Benchmark function --------------------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/LibcBenchmarkTest.cpp b/libc/utils/benchmarks/LibcBenchmarkTest.cpp
index faf64ee32f55..c9b21e48e8f7 100644
--- a/libc/utils/benchmarks/LibcBenchmarkTest.cpp
+++ b/libc/utils/benchmarks/LibcBenchmarkTest.cpp
@@ -1,3 +1,11 @@
+//===-- Benchmark function tests -----------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
 #include "LibcBenchmark.h"
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/Optional.h"

diff  --git a/libc/utils/benchmarks/LibcMemoryBenchmark.cpp b/libc/utils/benchmarks/LibcMemoryBenchmark.cpp
index 946d52d8ddfd..9675c4ce1d4a 100644
--- a/libc/utils/benchmarks/LibcMemoryBenchmark.cpp
+++ b/libc/utils/benchmarks/LibcMemoryBenchmark.cpp
@@ -1,4 +1,4 @@
-//===-------- Benchmark memory specific tools -----------------------------===//
+//===-- Benchmark memory specific tools -----------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/LibcMemoryBenchmark.h b/libc/utils/benchmarks/LibcMemoryBenchmark.h
index 4c941bef0a69..5021a5fcc819 100644
--- a/libc/utils/benchmarks/LibcMemoryBenchmark.h
+++ b/libc/utils/benchmarks/LibcMemoryBenchmark.h
@@ -1,4 +1,4 @@
-//===-------- Benchmark memory specific tools -------------------*- C++ -*-===//
+//===-- Benchmark memory specific tools -------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/LibcMemoryBenchmarkMain.cpp b/libc/utils/benchmarks/LibcMemoryBenchmarkMain.cpp
index f85c4be0c724..e30597187c52 100644
--- a/libc/utils/benchmarks/LibcMemoryBenchmarkMain.cpp
+++ b/libc/utils/benchmarks/LibcMemoryBenchmarkMain.cpp
@@ -1,4 +1,4 @@
-//===-------- Benchmark  --------------------------------------------------===//
+//===-- Benchmark ---------------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/LibcMemoryBenchmarkMain.h b/libc/utils/benchmarks/LibcMemoryBenchmarkMain.h
index f5681ad5a45f..2c7ce549cc0e 100644
--- a/libc/utils/benchmarks/LibcMemoryBenchmarkMain.h
+++ b/libc/utils/benchmarks/LibcMemoryBenchmarkMain.h
@@ -1,4 +1,4 @@
-//===-------- BenchmarkRunner interface -------------------------*- C++ -*-===//
+//===-- BenchmarkRunner interface -------------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/LibcMemoryBenchmarkTest.cpp b/libc/utils/benchmarks/LibcMemoryBenchmarkTest.cpp
index 148fa35a67d2..2abd6495262d 100644
--- a/libc/utils/benchmarks/LibcMemoryBenchmarkTest.cpp
+++ b/libc/utils/benchmarks/LibcMemoryBenchmarkTest.cpp
@@ -1,3 +1,11 @@
+//===-- Benchmark Memory Test ---------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
 #include "LibcMemoryBenchmark.h"
 #include "llvm/Support/Alignment.h"
 #include "gmock/gmock.h"

diff  --git a/libc/utils/benchmarks/Memcmp.cpp b/libc/utils/benchmarks/Memcmp.cpp
index 731e480dca8c..9b19350425c2 100644
--- a/libc/utils/benchmarks/Memcmp.cpp
+++ b/libc/utils/benchmarks/Memcmp.cpp
@@ -1,4 +1,4 @@
-//===-------- Benchmark memcmp implementation -----------------------------===//
+//===-- Benchmark memcmp implementation -----------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/Memcpy.cpp b/libc/utils/benchmarks/Memcpy.cpp
index abfb225d5509..ef031d3c07d7 100644
--- a/libc/utils/benchmarks/Memcpy.cpp
+++ b/libc/utils/benchmarks/Memcpy.cpp
@@ -1,4 +1,4 @@
-//===-------- Benchmark memcpy implementation -----------------------------===//
+//===-- Benchmark memcpy implementation -----------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/benchmarks/Memset.cpp b/libc/utils/benchmarks/Memset.cpp
index 5a2c2882bf2a..f891b7b79cd7 100644
--- a/libc/utils/benchmarks/Memset.cpp
+++ b/libc/utils/benchmarks/Memset.cpp
@@ -1,4 +1,4 @@
-//===-------- Benchmark memset implementation -----------------------------===//
+//===-- Benchmark memset implementation -----------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/testutils/ExecuteFunction.h b/libc/utils/testutils/ExecuteFunction.h
index 80da4ca9457f..32482ebaf3bf 100644
--- a/libc/utils/testutils/ExecuteFunction.h
+++ b/libc/utils/testutils/ExecuteFunction.h
@@ -1,4 +1,4 @@
-//===---------------------- ExecuteFunction.h -------------------*- C++ -*-===//
+//===-- ExecuteFunction.h ---------------------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/testutils/ExecuteFunctionUnix.cpp b/libc/utils/testutils/ExecuteFunctionUnix.cpp
index 1ddb24d812d7..60e367a40cb6 100644
--- a/libc/utils/testutils/ExecuteFunctionUnix.cpp
+++ b/libc/utils/testutils/ExecuteFunctionUnix.cpp
@@ -1,4 +1,4 @@
-//===------- ExecuteFunction implementation for Unix-like Systems ---------===//
+//===-- ExecuteFunction implementation for Unix-like Systems --------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/testutils/StreamWrapper.cpp b/libc/utils/testutils/StreamWrapper.cpp
index 142fb4b50d36..b8a693d767ce 100644
--- a/libc/utils/testutils/StreamWrapper.cpp
+++ b/libc/utils/testutils/StreamWrapper.cpp
@@ -1,4 +1,4 @@
-//===--------------------------- StreamWrapper.cpp ------------------------===//
+//===-- StreamWrapper.cpp -------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/utils/testutils/StreamWrapper.h b/libc/utils/testutils/StreamWrapper.h
index a2fecba617a8..a692bb639a39 100644
--- a/libc/utils/testutils/StreamWrapper.h
+++ b/libc/utils/testutils/StreamWrapper.h
@@ -1,4 +1,4 @@
-//===------------------------ StreamWrapper.h -------------------*- C++ -*-===//
+//===-- StreamWrapper.h -----------------------------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.


        


More information about the libc-commits mailing list