Skip to content

Commit 5e08f6b

Browse files
committed
[libc++][TZDB] Makes implementation experimental.
This moves the files to libcxx/src/experimental/ as discussed in llvm#90394. Fixes: llvm#94902
1 parent 47f8b85 commit 5e08f6b

File tree

11 files changed

+10
-10
lines changed

11 files changed

+10
-10
lines changed

libcxx/src/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -336,16 +336,16 @@ endif()
336336

337337
if (LIBCXX_ENABLE_LOCALIZATION AND LIBCXX_ENABLE_FILESYSTEM AND LIBCXX_ENABLE_TIME_ZONE_DATABASE)
338338
list(APPEND LIBCXX_EXPERIMENTAL_SOURCES
339-
include/tzdb/time_zone_private.h
340-
include/tzdb/types_private.h
341-
include/tzdb/tzdb_list_private.h
342-
include/tzdb/tzdb_private.h
339+
experimental/include/tzdb/time_zone_private.h
340+
experimental/include/tzdb/types_private.h
341+
experimental/include/tzdb/tzdb_list_private.h
342+
experimental/include/tzdb/tzdb_private.h
343343
# TODO TZDB The exception could be moved in chrono once the TZDB library
344344
# is no longer experimental.
345-
chrono_exception.cpp
346-
time_zone.cpp
347-
tzdb.cpp
348-
tzdb_list.cpp
345+
experimental/chrono_exception.cpp
346+
experimental/time_zone.cpp
347+
experimental/tzdb.cpp
348+
experimental/tzdb_list.cpp
349349
)
350350
endif()
351351

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

libcxx/test/libcxx/time/time.zone/time.zone.db/rules.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// Tests the IANA database rules parsing and operations.
1818
// This is not part of the public tzdb interface.
1919
// The test uses private implementation headers.
20-
// ADDITIONAL_COMPILE_FLAGS: -I %{libcxx-dir}/src/include
20+
// ADDITIONAL_COMPILE_FLAGS: -I %{libcxx-dir}/src/experimental/include
2121

2222
#include <chrono>
2323
#include <fstream>

0 commit comments

Comments
 (0)