Home
last modified time | relevance | path

Searched defs:is_same (Results 1 – 25 of 72) sorted by relevance

123

/llvm-project/clang/test/SemaCXX/
H A Dsubst-restrict.cpp9 template <class T, class V> struct is_same { struct
13 template <class T> struct is_same<T, T> { argument
17 static_assert(is_same<int & __restrict, add_restrict<int &>::type>::value, ""); argument
H A Dwindows-arm-valist.cpp7 struct is_same { enum { value = 0 }; }; struct
10 struct is_same<type_, type_> { enum { value = 1 }; }; struct
H A Dcxx2a-explicit-bool-deferred.cpp3 template <typename T1, typename T2> struct is_same { struct
7 template <typename T> struct is_same<T, T> { argument
12 concept SameHelper = is_same<T, U>::value; argument
H A Ddecltype-this.cpp4 template<typename T, typename U> struct is_same { struct
8 template<typename T> struct is_same<T, T> { argument
13 void f() { static_assert(is_same<decltype(this), S*>::value, ""); } in f() argument
H A Dmicrosoft-vs-float128.cpp7 template <typename, typename> struct is_same { static constexpr bool value = false; }; struct
8 template <typename T> struct is_same<T, T> { static constexpr bool value = true; }; argument
H A Dsize_t-literal.cpp13 struct is_same { static constexpr bool value = false; }; struct
16 struct is_same<T, T> { static constexpr bool value = true; }; argument
H A Dannotate-type.cpp8 template <typename T1, typename T2> struct is_same { struct
12 template <typename T1> struct is_same<T1, T1> { struct
16 static_assert(is_same<int, int [[clang::annotate_type("foo")]]>::value); argument
H A Dtypo-correction-crash.cpp14 template <class A, class B> struct is_same { static constexpr bool value = false; }; struct
15 template <class A> struct is_same<A,A> { static constexpr bool value = true; }; struct
H A Ddelete-and-function-templates.cpp6 template<class T, class U> struct is_same { enum { value = false }; }; argument
7 template<class T> struct is_same<T, T> { enum { value = true }; }; struct
/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/
H A Dp4-cxx0x.cpp4 struct is_same { struct
9 struct is_same<T, T> { argument
21 static_assert(is_same<decltype(foo()), const int&&>::value, ""); argument
H A Dp5-cxx0x.cpp74 template<typename T, typename U> struct is_same { static const bool value = false; }; struct
75 template<typename T> struct is_same<T, T> { static const bool value = true; }; argument
/llvm-project/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/
H A Dp14.cpp6 template<typename T, typename U> struct is_same { struct
10 template<typename T> struct is_same<T, T> { struct
11 static const bool value = true;
H A Dp6-0x.cpp63 template<typename T, typename U> struct is_same { static const bool value = false; }; argument
64 template<typename T> struct is_same<T, T> { static const bool value = true; }; argument
/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/
H A Dp3-nodeduct.cpp20 struct is_same { struct
25 struct is_same<T, T> { argument
29 int typeof0[is_same<__typeof__(f<int>), void (int)>::value? 1 : -1]; argument
/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp18.cpp5 struct is_same { struct
10 struct is_same<T, T> { struct
21 static_assert(is_same<decltype(((r))), float const&>::value, in f3() argument
/llvm-project/clang/test/CXX/temp/temp.constr/temp.constr.constr/
H A Dpartial-specializations.cpp6 struct is_same { static constexpr bool value = false; }; struct
9 struct is_same<T*, T*> { static constexpr bool value = true; }; struct
/llvm-project/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
H A Dp6-0x.cpp4 struct is_same { struct
9 struct is_same<T, T> { argument
15 int JOIN(array,__LINE__)[is_same<T1, T2>::value? 1 : -1] argument
/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
H A Dp9-0x.cpp7 struct is_same { struct
12 struct is_same<T, T> { struct
13 static const bool value = true;
/llvm-project/clang/test/SemaTemplate/
H A Dexample-typelist.cpp15 struct is_same { struct
20 struct is_same<T, T> { struct
21 static const bool value = true;
H A Daddress-spaces.cpp4 struct is_same { struct
9 struct is_same<T, T> { argument
30 int check_remove0[is_same<remove_pointer<int_1_ptr>::type, int_1>::value? 1 : -1]; argument
H A Dissue150.cpp7 struct is_same { struct
12 struct is_same<T, T> { argument
13 static const bool value = true;
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/abseil/
H A Dcleanup-ctad.cpp6 struct is_same { struct
7 static const bool value = false;
11 struct is_same<T, T> { static const bool value = true; }; argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Dnarrowing-conversions-bitfields.cpp
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-trailing-return-type-cxx20.cpp5 struct is_same { static constexpr auto value = false; }; struct
8 struct is_same<T, T> { static constexpr auto value = true; }; struct
11 concept floating_point = std::is_same<T, float>::value || std::is_same<T, double>::value || std::is…
/llvm-project/clang/test/Headers/
H A Darm64-apple-ios-types.cpp12 template <class _Tp, class _Up> struct is_same : public false_type {}; struct
13 template <class _Tp> struct is_same<_Tp, _Tp> : public true_type {}; struct

123