/llvm-project/clang/test/SemaTemplate/ |
H A D | diagnose-enable-if-t.cpp | 8 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 D | overload-candidates.cpp | 47 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 D | instantiate-incomplete-typo-suggested-error-limit.cpp | 18 template <bool, class Tp = void> struct enable_if {}; struct 19 template <class Tp> struct enable_if<true, Tp> { typedef Tp type; }; argument
|
H A D | stack-exhaustion.cpp | 52 template<bool B, typename T> struct enable_if { using type = T; }; struct
|
H A D | constexpr-instantiate.cpp | 186 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 D | use-constraints-first-greatergreater.cpp | 5 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 D | type-traits.cpp | 18 struct enable_if { struct 19 using type = T;
|
H A D | use-constraints.cpp | 5 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 D | autoret-global.cu | 24 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 D | microsoft-vs-float128.cpp | 4 template <bool> struct enable_if {}; struct 5 template<> struct enable_if<true> { typedef void type; }; struct
|
H A D | libcxx_move_hack.cpp | 13 template<typename T> struct enable_if<true, T> { typedef T type; }; argument
|
H A D | attr-annotate.cpp | 4 struct enable_if { struct 9 struct enable_if<false, Type> {}; struct
|
H A D | cxx0x-cursory-default-delete.cpp | 95 template<bool, typename = void> struct enable_if {}; struct 96 template<typename T> struct enable_if<true, T> { typedef T type; }; argument
|
H A D | alias-template.cpp | 147 typeSFINAE::enable_if global() argument
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | incorrect-enable-if.cpp | 6 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 D | forwarding-reference-overload.cpp | 4 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 D | sfinae-1.cpp | 27 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 D | sizeofpack.cpp | 78 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 D | example-bind.cpp | 257 struct enable_if<true, T> { struct 262 struct enable_if<false, T> { }; struct
|
/llvm-project/clang/test/AST/ |
H A D | ast-print-int128.cpp | 5 struct enable_if { struct
|
/llvm-project/libcxx/include/__type_traits/ |
H A D | enable_if.h | 21 struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS enable_if{}; struct
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | container-data-pointer.cpp | 32 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 D | const-correctness-transform-values.cpp | 145 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 D | dependent_return_type.compile.pass.cpp | 67 std::enable_if_t<true, T> enable_if() { in enable_if() function
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | mangle-exprs.cpp | 36 struct enable_if { typedef T type; }; argument 39 struct enable_if< false, T > {}; struct [all...] |