Home
last modified time | relevance | path

Searched refs:__is_literal (Results 1 – 11 of 11) sorted by relevance

/external/clang/test/SemaCXX/
Dliteral-type.cpp3 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 …]
Dstatic-assert.cpp45 static_assert(__is_literal(T), ""); // expected-error {{static_assert failed}}
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp3.cpp6 static_assert(!__is_literal(decltype(lambda)), ""); in test_nonaggregate()
10 static_assert(!__is_literal(decltype(lambda2)), ""); in test_nonaggregate()
/external/clang/test/SemaObjCXX/
Darc-type-traits.mm83 // __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/
Dcxx-traits.h40 struct __is_literal {}; // expected-warning {{made available}} struct
Dcxx-traits.cpp39 bool _is_literal_result = __is_literal(int);
/external/clang/test/CodeGenCXX/
Dconst-init-cxx11.cpp288 static_assert(!__is_literal(NonTrivialDtor), "");
296 static_assert(!__is_literal(VolatileMember), "");
/external/clang/include/clang/Basic/
DTokenKinds.def433 TYPE_TRAIT_1(__is_literal, IsLiteral, KEYCXX)
436 ALIAS("__is_literal_type", __is_literal, KEYCXX)
/external/libcxx/include/
D__config467 #define _LIBCPP_IS_LITERAL(T) __is_literal(T)
/external/clang/lib/Parse/
DParseExpr.cpp821 REVERTIBLE_TYPE_TRAIT(__is_literal); in ParseCastExpression()
/external/clang/docs/
DLanguageExtensions.rst1005 * ``__is_literal(type)``: Determines whether the given type is a literal type