[all-commits] [llvm/llvm-project] 2c874d: [libc] Fix definition and use of LIBC_INLINE macro
Roland McGrath via All-commits
all-commits at lists.llvm.org
Tue May 16 15:12:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2c874d2128e35bb38817f349cfdfe9eca7281c9d
https://github.com/llvm/llvm-project/commit/2c874d2128e35bb38817f349cfdfe9eca7281c9d
Author: Roland McGrath <mcgrathr at google.com>
Date: 2023-05-16 (Tue, 16 May 2023)
Changed paths:
M libc/src/__support/endian.h
M libc/src/__support/macros/config.h
M libc/src/__support/macros/optimization.h
Log Message:
-----------
[libc] Fix definition and use of LIBC_INLINE macro
LIBC_INLINE was doubly defined in two headers. Define it only in
one place. Also update a few uses to make sure it's always placed
where a function attribute is valid and is used consistently on
every declaration of the same function in case the attributes used
in its definition must match on declarations and definitions.
Reviewed By: abrachet
Differential Revision: https://reviews.llvm.org/D150731
More information about the All-commits
mailing list