Searched defs:char16_t (Results 1 - 10 of 10) sorted by relevance

/external/clang/test/Lexer/
H A Dunicode-strings.c7 typedef __CHAR16_TYPE__ char16_t; typedef
10 // expected-warning@17 {{'char16_t' type specifier is incompatible with C++98}}
12 // expected-warning@20 {{'char16_t' type specifier is incompatible with C++98}}
17 const char16_t *b = u"abcd"; // expected-warning {{unicode literals are incompatible with}}
20 char16_t d = u'a'; // expected-warning {{unicode literals are incompatible with}}
H A Dchar-literal.cpp6 typedef __CHAR16_TYPE__ char16_t; typedef
21 char16_t g = u'ab'; // expected-error {{Unicode character literals may not contain multiple characters}}
22 char16_t h = u'\U0010FFFD'; // expected-error {{character too large for enclosing character literal type}}
33 char16_t o = '👽'; // expected-error {{character too large for enclosing character literal type}}
35 char16_t p[2] = u"\U0000FFFF";
36 char16_t q[2] = u"\U00010000";
H A Dcxx0x_keyword_as_cxx98.cpp25 typedef IF_CXX11(char16_t, wchar_t) my_wide_char_t; // ok
29 int char16_t; // expected-warning {{'char16_t' is a keyword in C++11}} variable
H A Dkeywords_test.cpp21 CXX11_KEYWORD(char16_t); variable
22 CXX11_TYPE(char16_t); variable
H A Dstring_concat.cpp6 typedef __CHAR16_TYPE__ char16_t; typedef
21 const char16_t* g = u"abc" u8"abc"; // expected-error {{unsupported non-standard concatenation of string literals}}
22 const char16_t* h = u"abc" U"abc"; // expected-error {{unsupported non-standard concatenation of string literals}}
23 const char16_t* i = u"abc" L"abc"; // expected-error {{unsupported non-standard concatenation of string literals}}
25 const char16_t* j = u"abc" u8R"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
26 const char16_t* k = u"abc" UR"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
27 const char16_t* l = u"abc" LR"(abc)"; // expected-error {{unsupported non-standard concatenation of string literals}}
/external/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/
H A Dc++98.cc12 char16_t, enumerator in enum:cxx11_keywords
/external/clang/test/CodeGen/
H A Dstring-literal.c10 typedef __CHAR16_TYPE__ char16_t; typedef
56 const char16_t *e = u"EF";
61 const char16_t *f = u"\u1120\u0220\U00102030";
66 const char16_t *p = u"\u1120\u0320" "\U00102030";
80 const char16_t *j = uR"foo(GH)foo";
/external/clang/test/Sema/
H A Dstring-init.c5 typedef unsigned short char16_t; typedef
21 char16_t c1[] = "a"; // expected-error{{initializing wide char array with non-wide string literal}}
22 char16_t c2[] = u8"a"; // expected-error{{initializing wide char array with non-wide string literal}}
23 char16_t c3[] = u"a"; // No error.
24 char16_t c4[] = U"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}
25 char16_t c5[] = L"a"; // expected-error{{initializing wide char array with incompatible wide string literal}}
49 char16_t c[] = 1; // expected-error{{array initializer must be an initializer list or wide string literal}}
/external/clang/test/SemaCXX/
H A DMicrosoftCompatibility.cpp4 typedef unsigned short char16_t; typedef
/external/clang/test/Preprocessor/
H A Dcxx_oper_keyword_ms_compat.cpp33 #define char16_t macro
118 char16_t

Completed in 198 milliseconds