Searched refs:__is_literal (Results 1 – 11 of 11) sorted by relevance
/external/clang/test/SemaCXX/ |
D | literal-type.cpp | 3 static_assert(__is_literal(int), "fail"); 5 static_assert(__is_literal(void*), "fail"); 7 static_assert(__is_literal(E), "fail"); 8 static_assert(__is_literal(decltype(E1)), "fail"); 10 static_assert(__is_literal(IAR), "fail"); 13 static_assert(__is_literal(Vector), "fail"); 14 static_assert(__is_literal(VectorExt), "fail"); 45 static_assert(__is_literal(Empty), "fail"); 46 static_assert(__is_literal(LiteralType), "fail"); 47 static_assert(__is_literal(NonAggregate), "fail"); [all …]
|
D | static-assert.cpp | 45 static_assert(__is_literal(T), ""); // expected-error {{static_assert failed}}
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
D | p3.cpp | 6 static_assert(!__is_literal(decltype(lambda)), ""); in test_nonaggregate() 10 static_assert(!__is_literal(decltype(lambda2)), ""); in test_nonaggregate()
|
/external/clang/test/SemaObjCXX/ |
D | arc-type-traits.mm | 83 // __is_literal 84 TRAIT_IS_TRUE(__is_literal, __strong id); 85 TRAIT_IS_TRUE(__is_literal, __weak id); 86 TRAIT_IS_TRUE(__is_literal, __autoreleasing id); 87 TRAIT_IS_TRUE(__is_literal, __unsafe_unretained id);
|
/external/clang/test/PCH/ |
D | cxx-traits.h | 39 struct __is_literal {}; // expected-warning {{made available}} struct
|
D | cxx-traits.cpp | 38 bool _is_literal_result = __is_literal(int);
|
/external/clang/test/CodeGenCXX/ |
D | const-init-cxx11.cpp | 288 static_assert(!__is_literal(NonTrivialDtor), ""); 296 static_assert(!__is_literal(VolatileMember), "");
|
/external/clang/include/clang/Basic/ |
D | TokenKinds.def | 426 TYPE_TRAIT_1(__is_literal, IsLiteral, KEYCXX) 429 ALIAS("__is_literal_type", __is_literal, KEYCXX)
|
/external/libcxx/include/ |
D | __config | 382 # define _LIBCPP_IS_LITERAL(T) __is_literal(T)
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 807 REVERTIBLE_TYPE_TRAIT(__is_literal); in ParseCastExpression()
|
/external/clang/docs/ |
D | LanguageExtensions.rst | 1005 * ``__is_literal(type)``: Determines whether the given type is a literal type
|