Skip to content

Commit ee059bb

Browse files
mordantecopybara-github
authored andcommitted
[libc++][TZDB] Makes implementation experimental. (#95657)
This moves the files to libcxx/src/experimental/ as discussed in #90394. Fixes: llvm/llvm-project#94902 NOKEYCHECK=True GitOrigin-RevId: 9d6b68b63f02e0fa3a1dd5b4553cc0d8f17d8777
1 parent 39a1a15 commit ee059bb

File tree

11 files changed

+10
-10
lines changed

11 files changed

+10
-10
lines changed

src/CMakeLists.txt

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

343343
if (LIBCXX_ENABLE_LOCALIZATION AND LIBCXX_ENABLE_FILESYSTEM AND LIBCXX_ENABLE_TIME_ZONE_DATABASE)
344344
list(APPEND LIBCXX_EXPERIMENTAL_SOURCES
345-
include/tzdb/time_zone_private.h
346-
include/tzdb/types_private.h
347-
include/tzdb/tzdb_list_private.h
348-
include/tzdb/tzdb_private.h
345+
experimental/include/tzdb/time_zone_private.h
346+
experimental/include/tzdb/types_private.h
347+
experimental/include/tzdb/tzdb_list_private.h
348+
experimental/include/tzdb/tzdb_private.h
349349
# TODO TZDB The exception could be moved in chrono once the TZDB library
350350
# is no longer experimental.
351-
chrono_exception.cpp
352-
time_zone.cpp
353-
tzdb.cpp
354-
tzdb_list.cpp
351+
experimental/chrono_exception.cpp
352+
experimental/time_zone.cpp
353+
experimental/tzdb.cpp
354+
experimental/tzdb_list.cpp
355355
)
356356
endif()
357357

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.

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)