aboutsummaryrefslogtreecommitdiff
path: root/libc/src/__support/CMakeLists.txt
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2023-01-19 08:32:50 +0000
committerSiva Chandra Reddy <sivachandra@google.com>2023-01-20 22:27:17 +0000
commit59c809cd9bdf8d8886396e8fcd23bd9cdb0807c3 (patch)
treec22b318da6b852d6cec1c416c5b36831353b68ba /libc/src/__support/CMakeLists.txt
parent7ec6c629052c30c0772e8fcae346a405af43444e (diff)
downloadllvm-59c809cd9bdf8d8886396e8fcd23bd9cdb0807c3.zip
llvm-59c809cd9bdf8d8886396e8fcd23bd9cdb0807c3.tar.gz
llvm-59c809cd9bdf8d8886396e8fcd23bd9cdb0807c3.tar.bz2
[libc][NFC] Replace static inline and inline annotations with LIBC_INLINE.
This is first of a few patches which will do similar mechanical changes. LIBC_INLINE is a simple macro which is default defined as just `inline`. The idea is that, different downstream contexts can define the macro as suitable to their use case and context. For example, one can choose to define LIBC_INLINE as `[[clang::internal_linkage]] inline`. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D142154
Diffstat (limited to 'libc/src/__support/CMakeLists.txt')
-rw-r--r--libc/src/__support/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/src/__support/CMakeLists.txt b/libc/src/__support/CMakeLists.txt
index 8b702af..2526d0c 100644
--- a/libc/src/__support/CMakeLists.txt
+++ b/libc/src/__support/CMakeLists.txt
@@ -77,6 +77,7 @@ add_header_library(
libc.include.errno
libc.src.errno.errno
libc.src.__support.CPP.limits
+ libc.src.__support.common
)
add_header_library(
@@ -98,6 +99,7 @@ add_header_library(
DEPENDS
libc.src.__support.CPP.type_traits
libc.src.__support.FPUtil.fp_bits
+ libc.src.__support.common
)
add_header_library(
@@ -112,6 +114,7 @@ add_header_library(
str_to_float
HDRS
str_to_float.h
+ detailed_powers_of_ten.h
DEPENDS
.ctype_utils
.high_precision_decimal
@@ -121,6 +124,7 @@ add_header_library(
libc.src.__support.CPP.limits
libc.src.__support.FPUtil.fp_bits
libc.src.__support.builtin_wrappers
+ libc.src.__support.common
libc.src.errno.errno
)