Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / libcxx / include / __chrono / local_info.h
blobcfe1448904d3f77831340bcad50e7fa3f6347828
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 //===----------------------------------------------------------------------===//
10 // For information see https://libcxx.llvm.org/DesignDocs/TimeZone.html
12 #ifndef _LIBCPP___CHRONO_LOCAL_INFO_H
13 #define _LIBCPP___CHRONO_LOCAL_INFO_H
15 #include <version>
16 // Enable the contents of the header only when libc++ was built with experimental features enabled.
17 #if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)
19 # include <__chrono/sys_info.h>
20 # include <__config>
22 # if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
23 # pragma GCC system_header
24 # endif
26 _LIBCPP_BEGIN_NAMESPACE_STD
28 # if _LIBCPP_STD_VER >= 20
30 namespace chrono {
32 struct local_info {
33 static constexpr int unique = 0;
34 static constexpr int nonexistent = 1;
35 static constexpr int ambiguous = 2;
37 int result;
38 sys_info first;
39 sys_info second;
42 } // namespace chrono
44 # endif // _LIBCPP_STD_VER >= 20
46 _LIBCPP_END_NAMESPACE_STD
48 #endif // !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)
50 #endif // _LIBCPP___CHRONO_LOCAL_INFO_H