Author: d0k Date: Thu May 19 06:39:56 2016 New Revision: 270045 URL: http://llvm.org/viewvc/llvm-project?rev=270045&view=rev Log: [include-fixer] Remove obsolete windows hack.
Modified: clang-tools-extra/trunk/unittests/include-fixer/IncludeFixerTest.cpp Modified: clang-tools-extra/trunk/unittests/include-fixer/IncludeFixerTest.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/include-fixer/IncludeFixerTest.cpp?rev=270045&r1=270044&r2=270045&view=diff ============================================================================== --- clang-tools-extra/trunk/unittests/include-fixer/IncludeFixerTest.cpp (original) +++ clang-tools-extra/trunk/unittests/include-fixer/IncludeFixerTest.cpp Thu May 19 06:39:56 2016 @@ -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) { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits