Home
last modified time | relevance | path

Searched defs:enable_if (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project/clang/test/SemaTemplate/
H A Ddiagnose-enable-if-t.cpp8 template<bool, class = void> struct enable_if {}; struct
9 template<class T> struct enable_if<true, T> { using type = T; }; struct
33 template<bool, class = void> struct enable_if {}; struct
34 template<class T> struct enable_if<true, T> { using type = T; }; struct
77 template<bool, class = void> struct enable_if {}; struct
78 template<class T> struct enable_if<true, T> { using type = T; }; struct
H A Doverload-candidates.cpp47 template<bool, typename = void> struct enable_if {}; struct
48 template<typename T> struct enable_if<true, T> { typedef T type; }; struct
50 template<typename T> typename boost::enable_if<sizeof(T) == 4, int>::type if_size_4(); // expected-…
54 template<typename Cond, typename T = void> struct enable_if : boost::enable_if<Cond::value, T> {}; struct
86 template<bool, typename = void> struct enable_if {}; struct
87 template<typename T> struct enable_if<true, T> { typedef T type; }; struct
99 typename Requires = typename std::enable_if<a_trait<T>::value>::type>
H A Dinstantiate-incomplete-typo-suggested-error-limit.cpp18 template <bool, class Tp = void> struct enable_if {}; struct
19 template <class Tp> struct enable_if<true, Tp> { typedef Tp type; }; argument
H A Dstack-exhaustion.cpp52 template<bool B, typename T> struct enable_if { using type = T; }; struct
H A Dconstexpr-instantiate.cpp186 template<bool, typename> struct enable_if {}; struct
187 template<typename T> struct enable_if<true, T> { using type = T; }; argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-constraints-first-greatergreater.cpp5 template <bool B, class T = void> struct enable_if { }; struct
7 template <class T> struct enable_if<true, T> { typedef T type; }; struct
18 template <typename T, typename = std::enable_if_t<T::some_value>>
H A Dtype-traits.cpp18 struct enable_if { struct
19 using type = T;
H A Duse-constraints.cpp5 template <bool B, class T = void> struct enable_if { }; struct
7 template <class T> struct enable_if<true, T> { typedef T type; }; struct
/llvm-project/clang/test/SemaCUDA/
H A Dautoret-global.cu24 template <bool Cond, typename T = void> struct enable_if { typedef T type; }; argument
25 template <typename T> struct enable_if<false, T> {}; struct
/llvm-project/clang/test/SemaCXX/
H A Dmicrosoft-vs-float128.cpp4 template <bool> struct enable_if {}; struct
5 template<> struct enable_if<true> { typedef void type; }; struct
H A Dlibcxx_move_hack.cpp13 template<typename T> struct enable_if<true, T> { typedef T type; }; argument
H A Dattr-annotate.cpp4 struct enable_if { struct
9 struct enable_if<false, Type> {}; struct
H A Dcxx0x-cursory-default-delete.cpp95 template<bool, typename = void> struct enable_if {}; struct
96 template<typename T> struct enable_if<true, T> { typedef T type; }; argument
H A Dalias-template.cpp147 typeSFINAE::enable_if global() argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dincorrect-enable-if.cpp6 template <bool B, class T = void> struct enable_if { }; struct
8 template <class T> struct enable_if<true, T> { typedef T type; }; struct
16 template <typename T, typename = typename std::enable_if<T::some_value>::type>
H A Dforwarding-reference-overload.cpp4 template <bool B, class T = void> struct enable_if { typedef T type; }; argument
6 template <class T> struct enable_if<true, T> { typedef T type; }; argument
15 template <class T> struct enable_if { typedef T type; }; argument
[all...]
/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
H A Dsfinae-1.cpp27 struct enable_if { struct
28 typedef T type;
32 struct enable_if<false, T> { }; struct
/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dsizeofpack.cpp78 template<class T> struct enable_if<true, T> { argument
156 struct enable_if<true,_Tp> argument
75 struct enable_if { }; global() struct
77 template<class T> struct enable_if<true, T> { global() struct
152 struct enable_if global() struct
155 struct enable_if<true,_Tp> global() struct
H A Dexample-bind.cpp257 struct enable_if<true, T> { struct
262 struct enable_if<false, T> { }; struct
/llvm-project/clang/test/AST/
H A Dast-print-int128.cpp5 struct enable_if { struct
/llvm-project/libcxx/include/__type_traits/
H A Denable_if.h21 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS enable_if{}; struct
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dcontainer-data-pointer.cpp32 struct enable_if { }; struct
35 struct enable_if<true, T> { struct
36 typedef T type;
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dconst-correctness-transform-values.cpp145 struct enable_if {}; struct
148 struct enable_if<true, Tp> { using type = Tp; }; struct
/llvm-project/libcxx/test/std/utilities/meta/meta.unary/
H A Ddependent_return_type.compile.pass.cpp67 std::enable_if_t<true, T> enable_if() { in enable_if() function
/llvm-project/clang/test/CodeGenCXX/
H A Dmangle-exprs.cpp36 struct enable_if { typedef T type; }; argument
39 struct enable_if< false, T > {}; struct
[all...]

12