diff --git a/libc/benchmarks/automemcpy/unittests/ResultAnalyzerTest.cpp b/libc/benchmarks/automemcpy/unittests/ResultAnalyzerTest.cpp --- a/libc/benchmarks/automemcpy/unittests/ResultAnalyzerTest.cpp +++ b/libc/benchmarks/automemcpy/unittests/ResultAnalyzerTest.cpp @@ -25,7 +25,7 @@ static constexpr SampleId Id = {Foo1, DistA}; static constexpr Sample kSamples[] = { Sample{Id, SampleType::ITERATION, 4}, - Sample{Id, SampleType::AGGREGATE, -1}, // Aggegates gets discarded + Sample{Id, SampleType::AGGREGATE, -1}, // Aggregates gets discarded }; const std::vector Data = getThroughputs(kSamples); diff --git a/libc/cmake/modules/LLVMLibCObjectRules.cmake b/libc/cmake/modules/LLVMLibCObjectRules.cmake --- a/libc/cmake/modules/LLVMLibCObjectRules.cmake +++ b/libc/cmake/modules/LLVMLibCObjectRules.cmake @@ -383,7 +383,7 @@ # compiler and the compiled clang-tidy. if(COMPILER_RESOURCE_DIR) # We run restrict-system-libc-headers with --system-headers to prevent - # transitive inclusion through compler provided headers. + # transitive inclusion through compiler provided headers. set(restrict_system_headers_check_invocation COMMAND ${LLVM_LIBC_CLANG_TIDY} --system-headers --checks="-*,llvmlibc-restrict-system-libc-headers" diff --git a/libc/config/linux/app.h b/libc/config/linux/app.h --- a/libc/config/linux/app.h +++ b/libc/config/linux/app.h @@ -87,7 +87,7 @@ uintptr_t addr = 0; // The value the thread pointer register should be initialized to. - // Note that, dependending the target architecture ABI, it can be the + // Note that, depending on the target architecture ABI, it can be the // same as |addr| or something else. uintptr_t tp = 0; diff --git a/libc/test/src/__support/uint128_test.cpp b/libc/test/src/__support/uint128_test.cpp --- a/libc/test/src/__support/uint128_test.cpp +++ b/libc/test/src/__support/uint128_test.cpp @@ -44,7 +44,7 @@ EXPECT_EQ((val1 * val2), result1); EXPECT_EQ((val1 * val2), (val2 * val1)); // multiplication is reciprocal - // Check that the multiplication works accross the whole number + // Check that the multiplication works across the whole number LL_UInt128 val3({0xf, 0}); LL_UInt128 val4({0x1111111111111111, 0x1111111111111111}); LL_UInt128 result2({0xffffffffffffffff, 0xffffffffffffffff}); diff --git a/libc/test/src/stdio/fileop_test.cpp b/libc/test/src/stdio/fileop_test.cpp --- a/libc/test/src/stdio/fileop_test.cpp +++ b/libc/test/src/stdio/fileop_test.cpp @@ -1,4 +1,4 @@ -//===-- Unittests for file operations like fopen, flcose etc --------------===// +//===-- Unittests for file operations like fopen, fclose etc --------------===// // // 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/stdio/unlocked_fileop_test.cpp b/libc/test/src/stdio/unlocked_fileop_test.cpp --- a/libc/test/src/stdio/unlocked_fileop_test.cpp +++ b/libc/test/src/stdio/unlocked_fileop_test.cpp @@ -1,4 +1,4 @@ -//===-- Unittests for f operations like fopen, flcose etc --------------===// +//===-- Unittests for f operations like fopen, fclose etc --------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information.