[clang-tidy][NFC]remove deps of clang in clang tidy test (#116588)
[llvm-project.git] / libc / include / llvm-libc-types / char16_t.h
blob1f5847ae771b41035e7fee52ef833955999a5f00
1 //===-- Definition of char16_t type ---------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_TYPES_CHAR16_T_H
10 #define LLVM_LIBC_TYPES_CHAR16_T_H
12 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
13 #include "../llvm-libc-macros/stdint-macros.h"
14 typedef uint_least16_t char16_t;
15 #endif
17 #endif // LLVM_LIBC_TYPES_CHAR16_T_H