[clang-tidy] Remove STL dependency from a test.
llvm-svn: 268494
This commit is contained in:
parent
8338d90ba3
commit
30e962a158
|
|
@ -1,6 +1,16 @@
|
|||
// RUN: %check_clang_tidy %s misc-unconventional-assign-operator %t -- -- -std=c++11 -isystem %S/Inputs/Headers
|
||||
|
||||
#include <utility>
|
||||
namespace std {
|
||||
template <typename T>
|
||||
struct remove_reference { typedef T type; };
|
||||
template <typename T>
|
||||
struct remove_reference<T &> { typedef T type; };
|
||||
template <typename T>
|
||||
struct remove_reference<T &&> { typedef T type; };
|
||||
template <typename T>
|
||||
typename remove_reference<T>::type &&move(T &&t);
|
||||
}
|
||||
|
||||
|
||||
struct Good {
|
||||
Good& operator=(const Good&);
|
||||
|
|
|
|||
Loading…
Reference in New Issue