Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_const.h24 struct _LIBCPP_TEMPLATE_VIS is_const : _BoolConstant<__is_const(_Tp)> {}; struct
34 struct _LIBCPP_TEMPLATE_VIS is_const : public false_type {};
36 struct _LIBCPP_TEMPLATE_VIS is_const<_Tp const> : public true_type {};
40 inline constexpr bool is_const_v = is_const<_Tp>::value;
H A Dis_function.h32 : public integral_constant<bool, !(is_reference<_Tp>::value || is_const<const _Tp>::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.h40 … __enable_if_t<!is_const<_Tp>::value>,
/freebsd/contrib/llvm-project/libcxx/include/
H A Darray128 #include <__type_traits/is_const.h>
286 typedef __conditional_t<is_const<_Tp>::value, const __empty, __empty> _EmptyType;
298 static_assert(!is_const<_Tp>::value, "cannot fill zero-sized array of type 'const T'");
302 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 <__type_traits/is_const.h>
H A D__hash_table30 #include <__type_traits/is_const.h>
163 static_assert(!is_reference<_Tp>::value && !is_const<_Tp>::value, "");
242 static_assert(!is_const<__node_type>::value, "_NodePtr should never be a pointer to const");
333 static_assert(!is_const<typename pointer_traits<_NodePtr>::element_type>::value, "");
H A Dspan166 #include <__type_traits/is_const.h>
H A Dforward_list222 #include <__type_traits/is_const.h>
411 static_assert(!is_const<typename pointer_traits<_NodeConstPtr>::element_type>::value, "");
H A D__tree28 #include <__type_traits/is_const.h>
616 static_assert(!is_const<__node_type>::value, "_NodePtr should never be a pointer to const");
H A Dmodule.modulemap1942 …ype_traits_is_const [system] { header "__type_traits/is_const.h" }
/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/libcxx/include/__memory/
H A Dallocator.h95 static_assert(!is_const<_Tp>::value, "std::allocator does not support const types");
/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
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-function-mocker.h57 std::is_const<typename std::remove_reference<Pattern>::type>::value,
H A Dgmock-matchers.h2416 static_assert(!std::is_const<Container>::value,
2588 static_assert(!std::is_const<RhsContainer>::value,
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h1115 static_assert(!std::is_const<Element>::value, "Type must not be const");
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h217 CompilerType GetCStringType(bool is_const);
H A DTypeSystemClang.cpp1104 CompilerType TypeSystemClang::GetCStringType(bool is_const) { in GetCStringType() argument
1108 if (is_const) in GetCStringType()
/freebsd/lib/libc++/
H A DMakefile1254 TTR_HEADERS+= is_const.h
H A Dlibcxx.imp760 { include: [ "<__type_traits/is_const.h>", "private", "<type_traits>", "public" ] },
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h3642 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc1628 SYMBOL(is_const, std::, <type_traits>)