[all-commits] [llvm/llvm-project] 5bf8ef: [libc] Fix more inline definitions
Roland McGrath via All-commits
all-commits at lists.llvm.org
Fri Jun 30 14:46:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5bf8efd269f8b75b5be40f087f231d71f744885c
https://github.com/llvm/llvm-project/commit/5bf8efd269f8b75b5be40f087f231d71f744885c
Author: Roland McGrath <mcgrathr at google.com>
Date: 2023-06-30 (Fri, 30 Jun 2023)
Changed paths:
M libc/src/__support/CPP/optional.h
M libc/src/__support/CPP/span.h
M libc/src/__support/CPP/string_view.h
M libc/src/__support/CPP/type_traits.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/threads/linux/thread.cpp
M libc/src/stdio/printf_core/write_int_converter.h
M libc/src/string/memory_utils/op_aarch64.h
M libc/src/string/memory_utils/op_generic.h
M libc/src/string/memory_utils/op_x86.h
M libc/src/string/memory_utils/strcmp_implementations.h
M libc/src/string/memory_utils/strstr_implementations.h
M libc/src/string/memory_utils/utils.h
M libc/src/string/string_utils.h
Log Message:
-----------
[libc] Fix more inline definitions
Fix a bunch more instances of incorrect use of the `static`
keyword and missing use of LIBC_INLINE and LIBC_INLINE_VAR
macros. Note that even forward declarations and generic template
declarations must follow the prescribed patterns for libc code so
that they match every definition, all template specializations.
Reviewed By: Caslyn
Differential Revision: https://reviews.llvm.org/D154260
More information about the All-commits
mailing list