[include-fixer] Remove obsolete windows hack.

llvm-svn: 270045
This commit is contained in:
Benjamin Kramer 2016-05-19 11:39:56 +00:00
parent 4087675948
commit 04666a2d5d
1 changed files with 2 additions and 4 deletions

View File

@ -132,11 +132,9 @@ TEST(IncludeFixer, MinimizeInclude) {
}
TEST(IncludeFixer, NestedName) {
// Some tests don't pass for target *-win32.
std::vector<std::string> args = {"-target", "x86_64-unknown-unknown"};
EXPECT_EQ("#include \"dir/otherdir/qux.h\"\n\n"
"int x = a::b::foo(0);\n",
runIncludeFixer("int x = a::b::foo(0);\n", args));
runIncludeFixer("int x = a::b::foo(0);\n"));
// FIXME: Handle simple macros.
EXPECT_EQ("#define FOO a::b::foo\nint x = FOO;\n",
@ -146,7 +144,7 @@ TEST(IncludeFixer, NestedName) {
EXPECT_EQ("#include \"dir/otherdir/qux.h\"\n\n"
"namespace a {}\nint a = a::b::foo(0);\n",
runIncludeFixer("namespace a {}\nint a = a::b::foo(0);\n", args));
runIncludeFixer("namespace a {}\nint a = a::b::foo(0);\n"));
}
TEST(IncludeFixer, MultipleMissingSymbols) {