1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 3 // 4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // See https://llvm.org/LICENSE.txt for license information. 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef SUPPORT_TEST_TZDB_H 11 #define SUPPORT_TEST_TZDB_H 12 13 #include <string_view> 14 15 #if defined(_LIBCPP_VERSION) 16 17 _LIBCPP_BEGIN_NAMESPACE_STD 18 19 namespace chrono { 20 21 // This function is marked as "overridable" in libc++ only for the test 22 // suite. Therefore the declaration is not in <chrono>. 23 _LIBCPP_AVAILABILITY_TZDB _LIBCPP_OVERRIDABLE_FUNC_VIS string_view __libcpp_tzdb_directory(); 24 25 } // namespace chrono 26 27 _LIBCPP_END_NAMESPACE_STD 28 29 #endif 30 31 #endif // SUPPORT_TEST_TZDB_H 32