Home
last modified time | relevance | path

Searched refs:is_const (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_const.h24 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 Dis_const.h20 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 Dis_const.h24 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 Drpc_util.h49 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 Doptimize.c224 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 Dtuple_size.h41 …__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 Dallocator.h91 static_assert(!is_const<_Tp>::value, "std::allocator does not support const types");
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dallocator.h81 static_assert(!is_const<_Tp>::value, "std::allocator does not support const types");
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Darray127 #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 Dtype_traits60 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_table29 #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 Dforward_list216 #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 Darray134 # 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 Dtype_traits58 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_table35 #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 Dspan171 # include <__type_traits/is_const.h>
H A Dforward_list230 # 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 DCheckerRegistryData.h176 std::conditional_t<std::is_const<CheckerOrPackageInfoList>::value,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanUtils.h215 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly()
/freebsd/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h349 static_assert(!std::is_const<RawContainer>::value, in ConstReference()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.cppm
H A Dtype_traits.inc46 using std::is_const;
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-function-mocker.h57 std::is_const<typename std::remove_reference<Pattern>::type>::value,
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h1102 static_assert(!std::is_const<Element>::value, "Type must not be const");
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h219 CompilerType GetCStringType(bool is_const);

12