Skip to content

Commit ae3e0bc

Browse files
committed
add wchar header to the clang importer SDK
1 parent 342dea8 commit ae3e0bc

File tree

1 file changed

+16
-0
lines changed
  • test/Inputs/clang-importer-sdk/usr/include

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#ifndef _WCHAR_H_
2+
#define _WCHAR_H_
3+
4+
typedef union {
5+
char __mbstate8[128];
6+
long long _mbstateL; /* for alignment */
7+
} __mbstate_t;
8+
9+
typedef __mbstate_t mbstate_t;
10+
wchar_t *wcschr(const wchar_t *, wchar_t);
11+
wchar_t *wcspbrk(const wchar_t *, const wchar_t *);
12+
wchar_t *wcsrchr(const wchar_t *, wchar_t);
13+
wchar_t *wcsstr(const wchar_t * __restrict, const wchar_t * __restrict);
14+
wchar_t *wmemchr(const wchar_t *, wchar_t, size_t);
15+
16+
#endif /* !_WCHAR_H_ */

0 commit comments

Comments
 (0)