Home
last modified time | relevance | path

Searched defs:is_const (Results 1 – 12 of 12) sorted by relevance

/llvm-project/libc/src/__support/CPP/type_traits/
H A Dis_const.h18 template <class T> struct is_const : cpp::false_type {}; global() struct
/llvm-project/libcxx/include/__type_traits/
H A Dis_const.h24 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS is_const : _BoolConstant<__is_const(_Tp)> {}; struct
/llvm-project/clang/test/SemaCXX/
H A Dbuiltin-std-move.cpp53 template <class T> struct is_const { static constexpr bool value = false; }; argument
54 template <class T> struct is_const<const T> { static constexpr bool value = true; }; struct
H A Dattr-lifetimebound.cpp169 template <class T> struct is_const { global() struct
170 valuestd::foo::is_const global() argument
173 template <class T> struct is_const<const T> { global() struct
174 valuestd::foo::is_const global() argument
H A Dstatic-assert.cpp123 struct is_const : public false_type {}; struct
125 struct is_const<Tp const> : public true_type {}; struct
H A Dbuiltins-elementwise-math.cpp12 template <class T> struct is_const : false_type {}; struct
13 template <class T> struct is_const<const T> : true_type {}; struct
[all...]
H A Dtype-traits.cpp1188 void is_const() is_const() function
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Dtype-traits.cpp8 struct is_const { struct
9 static constexpr bool value = true;
/llvm-project/clang/test/SemaTemplate/
H A Dtemp_class_spec.cpp35 struct is_const { struct
40 struct is_const<const T> { argument
44 int is_const0[is_const<int>::value? -1 : 1]; argument
/llvm-project/clang/test/CodeGenCXX/
H A Dcxx2a-consteval.cpp163 consteval Agg is_const() { is_const() function
/llvm-project/libc/test/src/__support/CPP/
H A Dtype_traits_test.cpp338 TYPED_TEST(LlvmLibcTypeTraitsTest,is_const,UnqualObjectTypes) TYPED_TEST() argument
/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1104 GetCStringType(bool is_const) GetCStringType() argument