| /freebsd/contrib/llvm-project/libcxx/include/__type_traits/ |
| H A D | is_const.h | 24 struct _LIBCPP_NO_SPECIALIZATIONS is_const : _BoolConstant<__is_const(_Tp)> {}; struct 34 struct is_const : public false_type {}; 36 struct is_const<_Tp const> : public true_type {}; 40 inline constexpr bool is_const_v = is_const<_Tp>::value;
|
| /freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/ |
| H A D | is_const.h | 20 template <class T> struct is_const : cpp::false_type {}; struct 21 template <class T> struct is_const<const T> : cpp::true_type {}; 23 LIBC_INLINE_VAR constexpr bool is_const_v = is_const<T>::value;
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/ |
| H A D | is_const.h | 24 struct _LIBCPP_TEMPLATE_VIS is_const : _BoolConstant<__is_const(_Tp)> {}; struct 29 struct _LIBCPP_TEMPLATE_VIS is_const : public false_type {}; 31 struct _LIBCPP_TEMPLATE_VIS is_const<_Tp const> : public true_type {};
|
| /freebsd/contrib/llvm-project/libc/shared/ |
| H A D | rpc_util.h | 49 template <class T> struct is_const : type_constant<bool, false> {}; 50 template <class T> struct is_const<const T> : type_constant<bool, true> {}; 258 if constexpr (is_const<T>::value)
|
| /freebsd/contrib/libpcap/ |
| H A D | optimize.c | 224 int is_const; member 753 opt_state->vmap[val].is_const = 1; in F() 1045 if (opt_state->vmap[val].is_const) { in opt_peep() 1132 if (opt_state->vmap[val].is_const && BPF_SRC(b->s.code) == BPF_X) { in opt_peep() 1142 if (opt_state->vmap[val].is_const && BPF_SRC(b->s.code) == BPF_K) { in opt_peep() 1204 if (alter && opt_state->vmap[v].is_const) { in opt_stmt() 1240 if (alter && opt_state->vmap[val[A_ATOM]].is_const) { in opt_stmt() 1307 if (opt_state->vmap[val[A_ATOM]].is_const) { in opt_stmt() 1327 if (alter && opt_state->vmap[val[X_ATOM]].is_const) { in opt_stmt() 1328 if (opt_state->vmap[val[A_ATOM]].is_const) { in opt_stmt() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__tuple/ |
| H A D | tuple_size.h | 41 …__enable_if_tuple_size_imp<volatile _Tp, __enable_if_t<!is_const<_Tp>::value>, decltype(tuple_size…
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/ |
| H A D | allocator.h | 91 static_assert(!is_const<_Tp>::value, "std::allocator does not support const types");
|
| /freebsd/contrib/llvm-project/libcxx/include/__memory/ |
| H A D | allocator.h | 81 static_assert(!is_const<_Tp>::value, "std::allocator does not support const types");
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | array | 127 #include <__cxx03/__type_traits/is_const.h> 257 typedef __conditional_t<is_const<_Tp>::value, const __empty, __empty> _EmptyType; 269 static_assert(!is_const<_Tp>::value, "cannot fill zero-sized array of type 'const T'"); 273 static_assert(!is_const<_Tp>::value, "cannot swap zero-sized array of type 'const T'");
|
| H A D | type_traits | 60 template <class T> struct is_const; 293 = is_const<T>::value; // C++17 445 #include <__cxx03/__type_traits/is_const.h>
|
| H A D | __hash_table | 29 #include <__cxx03/__type_traits/is_const.h> 150 static_assert(!is_reference<_Tp>::value && !is_const<_Tp>::value, ""); 229 static_assert(!is_const<__node_type>::value, "_NodePtr should never be a pointer to const"); 320 static_assert(!is_const<typename pointer_traits<_NodePtr>::element_type>::value, "");
|
| H A D | forward_list | 216 #include <__cxx03/__type_traits/is_const.h> 386 static_assert(!is_const<typename pointer_traits<_NodeConstPtr>::element_type>::value, "");
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | array | 134 # include <__type_traits/is_const.h> 326 using _EmptyType _LIBCPP_NODEBUG = __conditional_t<is_const<_Tp>::value, const __empty, __empty>; 338 static_assert(!is_const<_Tp>::value, "cannot fill zero-sized array of type 'const T'"); 342 static_assert(!is_const<_Tp>::value, "cannot swap zero-sized array of type 'const T'");
|
| H A D | type_traits | 58 template <class T> struct is_const; 322 = is_const<T>::value; // since C++17 485 # include <__type_traits/is_const.h>
|
| H A D | __hash_table | 35 #include <__type_traits/is_const.h> 187 static_assert(!is_reference<_Tp>::value && !is_const<_Tp>::value, ""); 266 static_assert(!is_const<__node_type>::value, "_NodePtr should never be a pointer to const"); 357 static_assert(!is_const<typename pointer_traits<_NodePtr>::element_type>::value, "");
|
| H A D | span | 171 # include <__type_traits/is_const.h>
|
| H A D | forward_list | 230 # include <__type_traits/is_const.h> 411 static_assert(!is_const<typename pointer_traits<_NodeConstPtr>::element_type>::value, "");
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/ |
| H A D | CheckerRegistryData.h | 176 std::conditional_t<std::is_const<CheckerOrPackageInfoList>::value,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanUtils.h | 215 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly()
|
| /freebsd/contrib/googletest/googlemock/include/gmock/internal/ |
| H A D | gmock-internal-utils.h | 349 static_assert(!std::is_const<RawContainer>::value, in ConstReference()
|
| /freebsd/contrib/llvm-project/libcxx/modules/std/ |
| H A D | type_traits.cppm | |
| H A D | type_traits.inc | 46 using std::is_const;
|
| /freebsd/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-function-mocker.h | 57 std::is_const<typename std::remove_reference<Pattern>::type>::value,
|
| /freebsd/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-internal.h | 1102 static_assert(!std::is_const<Element>::value, "Type must not be const");
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.h | 219 CompilerType GetCStringType(bool is_const);
|