Home
last modified time | relevance | path

Searched defs:integral_constant (Results 1 – 18 of 18) sorted by relevance

/llvm-project/libcxx/include/__type_traits/
H A Dintegral_constant.h21 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS integral_constant { struct
24 typedef integral_constant type; argument
32 typedef integral_constant<bool, false> false_type; argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/
H A Dintegral_constant.h5 struct integral_constant { struct
8 typedef integral_constant type; // using injected-class-name argument
12 using false_type = integral_constant<bool, false>; argument
H A Dsystem-header-simulation.h6 struct integral_constant { struct
9 typedef integral_constant type; argument
14 using bool_constant = integral_constant<bool, B>; argument
/llvm-project/clang/test/AST/
H A Dast-dump-template-json-win32-mangler-crash.cpp7 struct integral_constant { struct
11 using type = integral_constant; argument
23 using bool_constant = integral_constant<bool, _Val>; argument
/llvm-project/clang/test/SemaTemplate/
H A Dinstantiate-incomplete-typo-suggested-error-limit.cpp21 template <class Tp, Tp v> struct integral_constant { struct
24 typedef integral_constant type; argument
30 template <class Tp, Tp v> constexpr const Tp integral_constant<Tp, v>::value; argument
H A Doverload-candidates.cpp89 template<typename T, T V> struct integral_constant { static const T value = V; }; struct
/llvm-project/libc/src/__support/CPP/type_traits/
H A Dintegral_constant.h17 // integral_constant argument
18 template <typename T, T v> struct integral_constant { argument
16 template <typename T, T v> struct integral_constant { global() struct
/llvm-project/clang/test/Modules/Inputs/PR27401/
H A Da.h4 struct integral_constant { struct
10 : integral_constant<bool, __is_constructible(_Tp)> {}; argument
/llvm-project/clang/test/Analysis/
H A Dlive-bindings-test.cpp13 struct integral_constant { struct
14 static constexpr T value = v;
15 typedef T value_type;
16 typedef integral_constant type;
17 constexpr operator value_type() const noexcept { return value; } in operator value_type()
/llvm-project/clang/test/Parser/
H A Dcxx2a-concept-declaration.cpp41 struct integral_constant { static constexpr T value = v; }; argument
/llvm-project/clang/test/OpenMP/
H A Dconstexpr_capture.cpp5 template <int __v> struct integral_constant { struct
9 template <typename _Tp, int v = 0, bool _IsArray = integral_constant<v>::value> argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dconst-correctness-transform-values.cpp126 struct integral_constant { struct
129 using type = integral_constant; argument
135 struct is_integral : integral_constant<bool, false> {}; argument
H A Dconst-correctness-values.cpp600 struct integral_constant { argument
591 struct integral_constant { global() struct
594 typeintegral_constant global() argument
/llvm-project/clang/test/Layout/
H A Ddump-complete.cpp38 struct integral_constant { struct
39 static constexpr const _Tp value = __v;
40 typedef integral_constant type;
/llvm-project/clang/test/SemaCXX/
H A Dstatic-assert.cpp108 struct integral_constant { struct
109 static const Tp value = v;
110 typedef Tp value_type;
111 typedef integral_constant type;
112 constexpr operator value_type() const noexcept { return value; } in operator value_type()
113 constexpr value_type operator()() const noexcept { return value; } in operator ()()
/llvm-project/clang/test/Modules/Inputs/PR27754/
H A Dalgobase.h3 template<typename _Tp, _Tp> struct integral_constant {}; struct
/llvm-project/libc/test/src/__support/CPP/
H A Dtype_traits_test.cpp153 TEST(LlvmLibcTypeTraitsTest,integral_constant) TEST() argument
/llvm-project/clang/test/AST/Interp/
H A Drecords.cpp