Skip to content

Commit

Permalink
[libc++][TZDB] Makes implementation experimental.
Browse files Browse the repository at this point in the history
This moves the files to libcxx/src/experimental/ as discussed in llvm#90394.

Fixes: llvm#94902
  • Loading branch information
mordante committed Jun 15, 2024
1 parent 47f8b85 commit 5e08f6b
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions libcxx/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,16 +336,16 @@ endif()

if (LIBCXX_ENABLE_LOCALIZATION AND LIBCXX_ENABLE_FILESYSTEM AND LIBCXX_ENABLE_TIME_ZONE_DATABASE)
list(APPEND LIBCXX_EXPERIMENTAL_SOURCES
include/tzdb/time_zone_private.h
include/tzdb/types_private.h
include/tzdb/tzdb_list_private.h
include/tzdb/tzdb_private.h
experimental/include/tzdb/time_zone_private.h
experimental/include/tzdb/types_private.h
experimental/include/tzdb/tzdb_list_private.h
experimental/include/tzdb/tzdb_private.h
# TODO TZDB The exception could be moved in chrono once the TZDB library
# is no longer experimental.
chrono_exception.cpp
time_zone.cpp
tzdb.cpp
tzdb_list.cpp
experimental/chrono_exception.cpp
experimental/time_zone.cpp
experimental/tzdb.cpp
experimental/tzdb_list.cpp
)
endif()

Expand Down
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.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Tests the IANA database rules parsing and operations.
// This is not part of the public tzdb interface.
// The test uses private implementation headers.
// ADDITIONAL_COMPILE_FLAGS: -I %{libcxx-dir}/src/include
// ADDITIONAL_COMPILE_FLAGS: -I %{libcxx-dir}/src/experimental/include

#include <chrono>
#include <fstream>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Tests the IANA database zones parsing and operations.
// This is not part of the public tzdb interface.
// The test uses private implementation headers.
// ADDITIONAL_COMPILE_FLAGS: -I %{libcxx-dir}/src/include
// ADDITIONAL_COMPILE_FLAGS: -I %{libcxx-dir}/src/experimental/include

#include <cassert>
#include <chrono>
Expand Down

0 comments on commit 5e08f6b

Please sign in to comment.