Home
last modified time | relevance | path

Searched defs:remove_reference (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project/clang/test/Analysis/
H A Ddelayed-template-parsing-crash.cpp4 template <class T> struct remove_reference {typedef T type;}; argument
5 template <class T> struct remove_reference<T&> {typedef T type;}; struct
6 template <class T> struct remove_reference<T&&> {typedef T type;}; argument
H A Dself-assign.cpp12 template<class T> struct remove_reference { typedef T type; }; argument
13 template<class T> struct remove_reference<T&> { typedef T type; }; argument
14 template<class T> struct remove_reference<T&&> { typedef T type; }; argument
/llvm-project/clang/test/CXX/over/over.match/over.match.best/over.ics.rank/
H A Dp3-0x.cpp39 struct remove_reference { struct
44 struct remove_reference<T&> { argument
49 struct remove_reference<T&&> { argument
54 template<typename T> int &f(typename remove_reference<T>::type&); argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dmove-const-arg-const-ref.cpp10 struct remove_reference { struct
15 struct remove_reference<_Tp &> { struct
20 struct remove_reference<_Tp &&> { struct
25 constexpr typename std::remove_reference<_Tp>::type &&move(_Tp &&__t) { in move()
H A Dmove-const-arg-trivially-copyable.cpp8 template <typename _Tp> struct remove_reference { typedef _Tp type; }; struct
9 template <typename _Tp> struct remove_reference<_Tp &> { typedef _Tp type; }; struct
10 template <typename _Tp> struct remove_reference<_Tp &&> { typedef _Tp type; }; struct
13 constexpr typename std::remove_reference<_Tp>::type &&move(_Tp &&__t) { in move()
/llvm-project/clang/test/SemaCXX/
H A Dwarn-self-move.cpp6 template <class T> struct remove_reference { typedef T type; }; argument
7 template <class T> struct remove_reference<T&> { typedef T type; }; struct
8 template <class T> struct remove_reference<T&&> { typedef T type; }; argument
H A Drval-references-examples.cpp28 struct remove_reference { struct
33 struct remove_reference<T&> { argument
38 struct remove_reference<T&&> { struct
43 template <class T> typename remove_reference<T>::type&& move(T&& t) { in move() argument
H A Dwarn-redundant-move.cpp8 template <class T> struct remove_reference { typedef T type; }; argument
9 template <class T> struct remove_reference<T&> { typedef T type; }; argument
10 template <class T> struct remove_reference<T&&> { typedef T type; }; argument
H A Ddiscrim-union.cpp3 template<typename T> struct remove_reference { typedef T type; }; struct
4 template<typename T> struct remove_reference<T&> { typedef T type; }; struct
5 template<typename T> struct remove_reference<T&&> { typedef T type; }; argument
H A Dwarn-pessmizing-move.cpp8 template <class T> struct remove_reference { typedef T type; }; struct
9 template <class T> struct remove_reference<T&> { typedef T type; }; struct
10 template <class T> struct remove_reference<T&&> { typedef T type; }; argument
H A Dbuiltin-std-move.cpp35 template<typename T> struct remove_reference { using type = T; }; argument
36 template<typename T> struct remove_reference<T&> { using type = T; }; struct
37 template<typename T> struct remove_reference<T&&> { using type = T; }; struct
/llvm-project/clang/test/CodeGenObjCXX/
H A Darc-move.mm15 struct remove_reference { struct
20 struct remove_reference<T&> { argument
25 struct remove_reference<T&&> { struct
/llvm-project/clang/test/CodeGenCoroutines/
H A Dpr56919.cpp11 template <typename T> struct remove_reference { using type = T; }; struct
12 template <typename T> struct remove_reference<T &> { using type = T; }; struct
13 template <typename T> struct remove_reference<T &&> { using type = T; }; struct
16 constexpr typename std::remove_reference<T>::type&& move(T &&t) noexcept { in move()
/llvm-project/clang/test/Modules/Inputs/submodules/
H A Dtype_traits.h2 struct remove_reference { struct
7 struct remove_reference<T&> { argument
/llvm-project/clang/test/AST/
H A Dast-dump-openmp-begin-declare-variant_reference.cpp5 template <class _Tp> struct remove_reference { typedef _Tp type; }; argument
6 template <class _Tp> struct remove_reference<_Tp &> { typedef _Tp type; }; struct
7 template <class _Tp> struct remove_reference<_Tp &&> { typedef _Tp type; }; argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dthrow-by-value-catch-by-reference.cpp14 template <class T> struct remove_reference { typedef T type; }; struct
15 template <class T> struct remove_reference<T &> { typedef T type; }; argument
16 template <class T> struct remove_reference<T &&> { typedef T type; }; argument
H A Dunconventional-assign-operator.cpp5 struct remove_reference { typedef T type; }; argument
7 struct remove_reference<T &> { typedef T type; }; argument
9 struct remove_reference<T &&> { typedef T type; }; struct
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/unchecked-optional-access/absl/types/
H A Doptional.h8 template <typename T> struct remove_reference { using type = T; }; struct
/llvm-project/clang/test/SemaCXX/Inputs/
H A Dstd-coroutine.h7 template<typename T> struct remove_reference { typedef T type; }; struct
/llvm-project/libcxx/include/__type_traits/
H A Dremove_reference.h22 struct _LIBCPP_NO_SPECIALIZATIONS remove_reference { struct
23 _LIBCPP_NODEBUGremove_reference global() argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dmove-forwarding-reference.cpp6 template <typename _Tp> struct remove_reference { typedef _Tp type; }; struct
8 template <typename _Tp> struct remove_reference<_Tp &> { typedef _Tp type; }; struct
10 template <typename _Tp> struct remove_reference<_Tp &&> { typedef _Tp type; }; struct
13 constexpr typename std::remove_reference<_Tp>::type &&move(_Tp &&__t);
H A Dforwarding-reference-overload.cpp158 template <class T> struct remove_reference { using type = T; }; argument
159 template <class T> struct remove_reference<T&> { using type = T; }; argument
160 template <class T> struct remove_reference<T&&> { using type = T; }; argument
/llvm-project/clang/test/SemaCUDA/
H A Dimplicit-member-target-inherited.cu181 template <class T> struct remove_reference { typedef T type; }; argument
182 template <class T> struct remove_reference<T&> { typedef T type; }; argument
183 template <class T> struct remove_reference<T&&> { typedef T type; }; struct
H A Dimplicit-member-target.cu164 template <class T> struct remove_reference { typedef T type; }; argument
165 template <class T> struct remove_reference<T&> { typedef T type; }; struct
166 template <class T> struct remove_reference<T&&> { typedef T type; }; argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Dmissing-std-forward.cpp6 template <typename T> struct remove_reference { using type = T; }; argument
7 template <typename T> struct remove_reference<T&> { using type = T; }; argument
8 template <typename T> struct remove_reference<T&&> { using type = T; }; argument

12