/llvm-project/clang/test/SemaCXX/ |
H A D | subst-restrict.cpp | 9 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 D | windows-arm-valist.cpp | 7 struct is_same { enum { value = 0 }; }; struct 10 struct is_same<type_, type_> { enum { value = 1 }; }; struct
|
H A D | cxx2a-explicit-bool-deferred.cpp | 3 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 D | decltype-this.cpp | 4 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 D | microsoft-vs-float128.cpp | 7 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 D | size_t-literal.cpp | 13 struct is_same { static constexpr bool value = false; }; struct 16 struct is_same<T, T> { static constexpr bool value = true; }; argument
|
H A D | annotate-type.cpp | 8 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 D | typo-correction-crash.cpp | 14 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 D | delete-and-function-templates.cpp | 6 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 D | p4-cxx0x.cpp | 4 struct is_same { struct 9 struct is_same<T, T> { argument 21 static_assert(is_same<decltype(foo()), const int&&>::value, ""); argument
|
H A D | p5-cxx0x.cpp | 74 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 D | p14.cpp | 6 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 D | p6-0x.cpp | 63 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 D | p3-nodeduct.cpp | 20 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 D | p18.cpp | 5 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 D | partial-specializations.cpp | 6 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 D | p6-0x.cpp | 4 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 D | p9-0x.cpp | 7 struct is_same { struct 12 struct is_same<T, T> { struct 13 static const bool value = true;
|
/llvm-project/clang/test/SemaTemplate/ |
H A D | example-typelist.cpp | 15 struct is_same { struct 20 struct is_same<T, T> { struct 21 static const bool value = true;
|
H A D | address-spaces.cpp | 4 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 D | issue150.cpp | 7 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 D | cleanup-ctad.cpp | 6 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 D | narrowing-conversions-bitfields.cpp |
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
H A D | use-trailing-return-type-cxx20.cpp | 5 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 D | arm64-apple-ios-types.cpp | 12 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
|