[all-commits] [llvm/llvm-project] 270547: [libc][clang-tidy] Add llvm-header-guard to get co...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Thu Sep 21 02:15:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 270547f3bf83666cf407d18cec89d6a59069d2c6
      https://github.com/llvm/llvm-project/commit/270547f3bf83666cf407d18cec89d6a59069d2c6
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M libc/src/.clang-tidy
    M libc/src/__support/CPP/algorithm.h
    M libc/src/__support/CPP/array.h
    M libc/src/__support/CPP/atomic.h
    M libc/src/__support/CPP/bit.h
    M libc/src/__support/CPP/bitset.h
    M libc/src/__support/CPP/cstddef.h
    M libc/src/__support/CPP/expected.h
    M libc/src/__support/CPP/functional.h
    M libc/src/__support/CPP/limits.h
    M libc/src/__support/CPP/new.h
    M libc/src/__support/CPP/optional.h
    M libc/src/__support/CPP/span.h
    M libc/src/__support/CPP/string.h
    M libc/src/__support/CPP/string_view.h
    M libc/src/__support/CPP/stringstream.h
    M libc/src/__support/CPP/type_traits.h
    M libc/src/__support/CPP/type_traits/add_lvalue_reference.h
    M libc/src/__support/CPP/type_traits/add_pointer.h
    M libc/src/__support/CPP/type_traits/add_rvalue_reference.h
    M libc/src/__support/CPP/type_traits/always_false.h
    M libc/src/__support/CPP/type_traits/bool_constant.h
    M libc/src/__support/CPP/type_traits/conditional.h
    M libc/src/__support/CPP/type_traits/decay.h
    M libc/src/__support/CPP/type_traits/enable_if.h
    M libc/src/__support/CPP/type_traits/false_type.h
    M libc/src/__support/CPP/type_traits/integral_constant.h
    M libc/src/__support/CPP/type_traits/invoke.h
    M libc/src/__support/CPP/type_traits/invoke_result.h
    M libc/src/__support/CPP/type_traits/is_arithmetic.h
    M libc/src/__support/CPP/type_traits/is_array.h
    M libc/src/__support/CPP/type_traits/is_base_of.h
    M libc/src/__support/CPP/type_traits/is_class.h
    M libc/src/__support/CPP/type_traits/is_const.h
    M libc/src/__support/CPP/type_traits/is_convertible.h
    M libc/src/__support/CPP/type_traits/is_destructible.h
    M libc/src/__support/CPP/type_traits/is_enum.h
    M libc/src/__support/CPP/type_traits/is_floating_point.h
    M libc/src/__support/CPP/type_traits/is_function.h
    M libc/src/__support/CPP/type_traits/is_integral.h
    M libc/src/__support/CPP/type_traits/is_lvalue_reference.h
    M libc/src/__support/CPP/type_traits/is_member_pointer.h
    M libc/src/__support/CPP/type_traits/is_null_pointer.h
    M libc/src/__support/CPP/type_traits/is_object.h
    M libc/src/__support/CPP/type_traits/is_pointer.h
    M libc/src/__support/CPP/type_traits/is_reference.h
    M libc/src/__support/CPP/type_traits/is_rvalue_reference.h
    M libc/src/__support/CPP/type_traits/is_same.h
    M libc/src/__support/CPP/type_traits/is_scalar.h
    M libc/src/__support/CPP/type_traits/is_signed.h
    M libc/src/__support/CPP/type_traits/is_trivially_constructible.h
    M libc/src/__support/CPP/type_traits/is_trivially_copyable.h
    M libc/src/__support/CPP/type_traits/is_trivially_destructible.h
    M libc/src/__support/CPP/type_traits/is_union.h
    M libc/src/__support/CPP/type_traits/is_unsigned.h
    M libc/src/__support/CPP/type_traits/is_void.h
    M libc/src/__support/CPP/type_traits/make_signed.h
    M libc/src/__support/CPP/type_traits/make_unsigned.h
    M libc/src/__support/CPP/type_traits/remove_all_extents.h
    M libc/src/__support/CPP/type_traits/remove_cv.h
    M libc/src/__support/CPP/type_traits/remove_cvref.h
    M libc/src/__support/CPP/type_traits/remove_extent.h
    M libc/src/__support/CPP/type_traits/remove_reference.h
    M libc/src/__support/CPP/type_traits/true_type.h
    M libc/src/__support/CPP/type_traits/type_identity.h
    M libc/src/__support/CPP/type_traits/void_t.h
    M libc/src/__support/CPP/utility.h
    M libc/src/__support/CPP/utility/declval.h
    M libc/src/__support/CPP/utility/forward.h
    M libc/src/__support/CPP/utility/in_place.h
    M libc/src/__support/CPP/utility/integer_sequence.h
    M libc/src/__support/CPP/utility/move.h
    M libc/src/__support/FPUtil/BasicOperations.h
    M libc/src/__support/FPUtil/DivisionAndRemainderOperations.h
    M libc/src/__support/FPUtil/FEnvImpl.h
    M libc/src/__support/FPUtil/FMA.h
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/FPUtil/FloatProperties.h
    M libc/src/__support/FPUtil/Hypot.h
    M libc/src/__support/FPUtil/ManipulationFunctions.h
    M libc/src/__support/FPUtil/NearestIntegerOperations.h
    M libc/src/__support/FPUtil/NormalFloat.h
    M libc/src/__support/FPUtil/PlatformDefs.h
    M libc/src/__support/FPUtil/PolyEval.h
    M libc/src/__support/FPUtil/aarch64/FEnvImpl.h
    M libc/src/__support/FPUtil/aarch64/FMA.h
    M libc/src/__support/FPUtil/aarch64/fenv_darwin_impl.h
    M libc/src/__support/FPUtil/aarch64/nearest_integer.h
    M libc/src/__support/FPUtil/aarch64/sqrt.h
    M libc/src/__support/FPUtil/arm/FEnvImpl.h
    M libc/src/__support/FPUtil/double_double.h
    M libc/src/__support/FPUtil/dyadic_float.h
    M libc/src/__support/FPUtil/except_value_utils.h
    M libc/src/__support/FPUtil/fpbits_str.h
    M libc/src/__support/FPUtil/generic/FMA.h
    M libc/src/__support/FPUtil/generic/FMod.h
    M libc/src/__support/FPUtil/generic/sqrt.h
    M libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
    M libc/src/__support/FPUtil/gpu/FMA.h
    M libc/src/__support/FPUtil/multiply_add.h
    M libc/src/__support/FPUtil/nearest_integer.h
    M libc/src/__support/FPUtil/riscv32/FEnvImpl.h
    M libc/src/__support/FPUtil/riscv64/FEnvImpl.h
    M libc/src/__support/FPUtil/riscv64/FMA.h
    M libc/src/__support/FPUtil/riscv64/sqrt.h
    M libc/src/__support/FPUtil/rounding_mode.h
    M libc/src/__support/FPUtil/sqrt.h
    M libc/src/__support/FPUtil/triple_double.h
    M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
    M libc/src/__support/FPUtil/x86_64/FMA.h
    M libc/src/__support/FPUtil/x86_64/LongDoubleBits.h
    M libc/src/__support/FPUtil/x86_64/NextAfterLongDouble.h
    M libc/src/__support/FPUtil/x86_64/PolyEval.h
    M libc/src/__support/FPUtil/x86_64/nearest_integer.h
    M libc/src/__support/FPUtil/x86_64/sqrt.h
    M libc/src/__support/File/dir.h
    M libc/src/__support/File/file.h
    M libc/src/__support/File/linux/lseekImpl.h
    M libc/src/__support/GPU/amdgpu/utils.h
    M libc/src/__support/GPU/generic/utils.h
    M libc/src/__support/GPU/nvptx/utils.h
    M libc/src/__support/GPU/utils.h
    M libc/src/__support/OSUtil/darwin/arm/syscall.h
    M libc/src/__support/OSUtil/darwin/io.h
    M libc/src/__support/OSUtil/darwin/quick_exit.h
    M libc/src/__support/OSUtil/darwin/syscall.h
    M libc/src/__support/OSUtil/fuchsia/io.h
    M libc/src/__support/OSUtil/gpu/io.h
    M libc/src/__support/OSUtil/gpu/quick_exit.cpp
    M libc/src/__support/OSUtil/gpu/quick_exit.h
    M libc/src/__support/OSUtil/io.h
    M libc/src/__support/OSUtil/linux/aarch64/syscall.h
    M libc/src/__support/OSUtil/linux/arm/syscall.h
    M libc/src/__support/OSUtil/linux/io.h
    M libc/src/__support/OSUtil/linux/quick_exit.h
    M libc/src/__support/OSUtil/linux/riscv64/syscall.h
    M libc/src/__support/OSUtil/linux/syscall.h
    M libc/src/__support/OSUtil/linux/x86_64/syscall.h
    M libc/src/__support/OSUtil/quick_exit.h
    M libc/src/__support/OSUtil/syscall.h
    M libc/src/__support/RPC/rpc.h
    M libc/src/__support/RPC/rpc_client.h
    M libc/src/__support/RPC/rpc_util.h
    M libc/src/__support/StringUtil/error_to_string.h
    M libc/src/__support/StringUtil/message_mapper.h
    M libc/src/__support/StringUtil/platform_errors.h
    M libc/src/__support/StringUtil/platform_signals.h
    M libc/src/__support/StringUtil/signal_to_string.h
    M libc/src/__support/StringUtil/tables/linux_extension_errors.h
    M libc/src/__support/StringUtil/tables/linux_extension_signals.h
    M libc/src/__support/StringUtil/tables/linux_platform_errors.h
    M libc/src/__support/StringUtil/tables/linux_platform_signals.h
    M libc/src/__support/StringUtil/tables/minimal_platform_errors.h
    M libc/src/__support/StringUtil/tables/minimal_platform_signals.h
    M libc/src/__support/StringUtil/tables/posix_errors.h
    M libc/src/__support/StringUtil/tables/posix_signals.h
    M libc/src/__support/StringUtil/tables/signal_table.h
    M libc/src/__support/StringUtil/tables/stdc_errors.h
    M libc/src/__support/StringUtil/tables/stdc_signals.h
    M libc/src/__support/UInt.h
    M libc/src/__support/UInt128.h
    M libc/src/__support/arg_list.h
    M libc/src/__support/blockstore.h
    M libc/src/__support/builtin_wrappers.h
    M libc/src/__support/c_string.h
    M libc/src/__support/char_vector.h
    M libc/src/__support/common.h
    M libc/src/__support/ctype_utils.h
    M libc/src/__support/detailed_powers_of_ten.h
    M libc/src/__support/endian.h
    M libc/src/__support/error_or.h
    M libc/src/__support/fixedvector.h
    M libc/src/__support/float_to_string.h
    M libc/src/__support/high_precision_decimal.h
    M libc/src/__support/integer_operations.h
    M libc/src/__support/integer_to_string.h
    M libc/src/__support/integer_utils.h
    M libc/src/__support/libc_assert.h
    M libc/src/__support/macros/attributes.h
    M libc/src/__support/macros/config.h
    M libc/src/__support/macros/optimization.h
    M libc/src/__support/macros/properties/architectures.h
    M libc/src/__support/macros/properties/compiler.h
    M libc/src/__support/macros/properties/cpu_features.h
    M libc/src/__support/macros/sanitizer.h
    M libc/src/__support/named_pair.h
    M libc/src/__support/number_pair.h
    M libc/src/__support/ryu_constants.h
    M libc/src/__support/ryu_long_double_constants.h
    M libc/src/__support/str_to_float.h
    M libc/src/__support/str_to_integer.h
    M libc/src/__support/str_to_num_result.h
    M libc/src/__support/threads/callonce.h
    M libc/src/__support/threads/fork_callbacks.h
    M libc/src/__support/threads/gpu/mutex.h
    M libc/src/__support/threads/linux/futex_word.h
    M libc/src/__support/threads/linux/mutex.h
    M libc/src/__support/threads/mutex.h
    M libc/src/__support/threads/mutex_common.h
    M libc/src/__support/threads/thread.h
    M libc/src/__support/wctype_utils.h
    M libc/src/assert/__assert_fail.h
    M libc/src/errno/libc_errno.h
    M libc/src/math/generic/math_utils.h
    M libc/src/math/generic/sincosf_utils.h
    M libc/src/math/ldexpl.h
    M libc/src/pthread/pthread_atfork.h
    M libc/src/pthread/pthread_create.h
    M libc/src/pthread/pthread_detach.h
    M libc/src/pthread/pthread_equal.h
    M libc/src/pthread/pthread_exit.h
    M libc/src/pthread/pthread_join.h
    M libc/src/pthread/pthread_mutex_destroy.h
    M libc/src/pthread/pthread_mutex_init.h
    M libc/src/pthread/pthread_mutexattr_setpshared.h
    M libc/src/pthread/pthread_once.h
    M libc/src/pthread/pthread_self.h
    M libc/src/sched/sched_getaffinity.h
    M libc/src/sched/sched_getcpucount.h
    M libc/src/sched/sched_setaffinity.h
    M libc/src/setjmp/longjmp.h
    M libc/src/setjmp/setjmp_impl.h
    M libc/src/signal/sigaddset.h
    M libc/src/signal/sigaltstack.h
    M libc/src/stdlib/_Exit.h
    M libc/src/stdlib/abort.h
    M libc/src/stdlib/atof.h
    M libc/src/stdlib/bsearch.h
    M libc/src/stdlib/div.h
    M libc/src/stdlib/exit.h
    M libc/src/stdlib/ldiv.h
    M libc/src/stdlib/lldiv.h
    M libc/src/stdlib/rand.h
    M libc/src/stdlib/srand.h
    M libc/src/string/allocating_string_utils.h
    M libc/src/string/memory_utils/utils.h
    M libc/src/string/memory_utils/x86_64/inline_bcmp.h
    M libc/src/string/memory_utils/x86_64/inline_memcmp.h
    M libc/src/string/memory_utils/x86_64/inline_memcpy.h
    M libc/src/string/memory_utils/x86_64/inline_memmove.h
    M libc/src/string/memory_utils/x86_64/inline_memset.h
    M libc/src/string/strcasestr.h
    M libc/src/string/string_utils.h
    M libc/src/string/strncasecmp.h
    M libc/src/sys/resource/getrlimit.h
    M libc/src/sys/resource/setrlimit.h
    M libc/src/sys/sendfile/sendfile.h
    M libc/src/sys/socket/socket.h
    M libc/src/sys/stat/linux/kernel_statx.h
    M libc/src/termios/cfgetispeed.h
    M libc/src/termios/cfgetospeed.h
    M libc/src/termios/cfsetispeed.h
    M libc/src/termios/cfsetospeed.h
    M libc/src/termios/tcdrain.h
    M libc/src/termios/tcflow.h
    M libc/src/termios/tcflush.h
    M libc/src/termios/tcsendbreak.h

  Log Message:
  -----------
  [libc][clang-tidy] Add llvm-header-guard to get consistant naming and prevent file copy/paste issues. (#66477)




More information about the All-commits mailing list