/llvm-project/clang/test/Analysis/ |
H A D | delayed-template-parsing-crash.cpp | 4 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 D | self-assign.cpp | 12 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 D | p3-0x.cpp | 39 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 D | move-const-arg-const-ref.cpp | 10 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 D | move-const-arg-trivially-copyable.cpp | 8 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 D | warn-self-move.cpp | 6 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 D | rval-references-examples.cpp | 28 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 D | warn-redundant-move.cpp | 8 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 D | discrim-union.cpp | 3 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 D | warn-pessmizing-move.cpp | 8 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 D | builtin-std-move.cpp | 35 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 D | arc-move.mm | 15 struct remove_reference { struct 20 struct remove_reference<T&> { argument 25 struct remove_reference<T&&> { struct
|
/llvm-project/clang/test/CodeGenCoroutines/ |
H A D | pr56919.cpp | 11 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 D | type_traits.h | 2 struct remove_reference { struct 7 struct remove_reference<T&> { argument
|
/llvm-project/clang/test/AST/ |
H A D | ast-dump-openmp-begin-declare-variant_reference.cpp | 5 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 D | throw-by-value-catch-by-reference.cpp | 14 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 D | unconventional-assign-operator.cpp | 5 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 D | optional.h | 8 template <typename T> struct remove_reference { using type = T; }; struct
|
/llvm-project/clang/test/SemaCXX/Inputs/ |
H A D | std-coroutine.h | 7 template<typename T> struct remove_reference { typedef T type; }; struct
|
/llvm-project/libcxx/include/__type_traits/ |
H A D | remove_reference.h | 22 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 D | move-forwarding-reference.cpp | 6 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 D | forwarding-reference-overload.cpp | 158 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 D | implicit-member-target-inherited.cu | 181 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 D | implicit-member-target.cu | 164 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 D | missing-std-forward.cpp | 6 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
|