Home
last modified time | relevance | path

Searched refs:__is_const (Results 1 – 13 of 13) sorted by relevance

/external/clang/test/SemaCXX/
Dtype-traits.cpp910 int t01[T(__is_const(cvoid))]; in is_const()
911 int t02[T(__is_const(const char))]; in is_const()
912 int t03[T(__is_const(const int))]; in is_const()
913 int t04[T(__is_const(const long))]; in is_const()
914 int t05[T(__is_const(const short))]; in is_const()
915 int t06[T(__is_const(const signed char))]; in is_const()
916 int t07[T(__is_const(const wchar_t))]; in is_const()
917 int t08[T(__is_const(const bool))]; in is_const()
918 int t09[T(__is_const(const float))]; in is_const()
919 int t10[T(__is_const(const double))]; in is_const()
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dtype-traits.cpp1043 int t01[T(__is_const(cvoid))]; in is_const()
1044 int t02[T(__is_const(const char))]; in is_const()
1045 int t03[T(__is_const(const int))]; in is_const()
1046 int t04[T(__is_const(const long))]; in is_const()
1047 int t05[T(__is_const(const short))]; in is_const()
1048 int t06[T(__is_const(const signed char))]; in is_const()
1049 int t07[T(__is_const(const wchar_t))]; in is_const()
1050 int t08[T(__is_const(const bool))]; in is_const()
1051 int t09[T(__is_const(const float))]; in is_const()
1052 int t10[T(__is_const(const double))]; in is_const()
[all …]
Dsizeless-1.cpp568 _Static_assert(!__is_const(svint8_t), ""); in cxx_only()
569 _Static_assert(__is_const(const svint8_t), ""); in cxx_only()
570 _Static_assert(__is_const(const volatile svint8_t), ""); in cxx_only()
/external/clang/test/PCH/
Dcxx-traits.h28 struct __is_const {}; // expected-warning {{made available}} struct
Dcxx-traits.cpp26 bool _is_const_result = __is_const(int);
/external/llvm-project/clang/test/PCH/
Dcxx-traits.h29 struct __is_const {}; // expected-warning {{made available}} struct
Dcxx-traits.cpp27 bool _is_const_result = __is_const(int);
/external/clang/include/clang/Basic/
DTokenKinds.def471 TYPE_TRAIT_1(__is_const, IsConst, KEYCXX)
/external/llvm-project/clang/include/clang/Basic/
DTokenKinds.def534 TYPE_TRAIT_1(__is_const, IsConst, KEYCXX)
/external/llvm-project/libcxx/include/
Dtype_traits673 #if __has_keyword(__is_const)
676 struct _LIBCPP_TEMPLATE_VIS is_const : _BoolConstant<__is_const(_Tp)> { };
680 _LIBCPP_INLINE_VAR _LIBCPP_CONSTEXPR bool is_const_v = __is_const(_Tp);
694 #endif // __has_keyword(__is_const)
/external/clang/lib/Parse/
DParseExpr.cpp808 REVERTIBLE_TYPE_TRAIT(__is_const); in ParseCastExpression()
/external/llvm-project/clang/lib/Parse/
DParseExpr.cpp1073 REVERTIBLE_TYPE_TRAIT(__is_const); in ParseCastExpression()
/external/llvm-project/clang/docs/
DLanguageExtensions.rst1154 * ``__is_const`` (C++, Embarcadero)