From 30e962a158656f140e2fdf64c05f06a13e86a079 Mon Sep 17 00:00:00 2001 From: Gabor Horvath Date: Wed, 4 May 2016 12:17:55 +0000 Subject: [PATCH] [clang-tidy] Remove STL dependency from a test. llvm-svn: 268494 --- .../test/clang-tidy/misc-unconventional-assign-operator.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/clang-tools-extra/test/clang-tidy/misc-unconventional-assign-operator.cpp b/clang-tools-extra/test/clang-tidy/misc-unconventional-assign-operator.cpp index 3041f59..7ad9610 100644 --- a/clang-tools-extra/test/clang-tidy/misc-unconventional-assign-operator.cpp +++ b/clang-tools-extra/test/clang-tidy/misc-unconventional-assign-operator.cpp @@ -1,6 +1,16 @@ // RUN: %check_clang_tidy %s misc-unconventional-assign-operator %t -- -- -std=c++11 -isystem %S/Inputs/Headers -#include +namespace std { +template +struct remove_reference { typedef T type; }; +template +struct remove_reference { typedef T type; }; +template +struct remove_reference { typedef T type; }; +template +typename remove_reference::type &&move(T &&t); +} + struct Good { Good& operator=(const Good&); -- 2.7.4