summaryrefslogtreecommitdiff
path: root/unittests/Tooling
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-11-13 00:18:50 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-11-13 00:18:50 +0000
commit2ab056f31b83b8f1751d54614138f2e57e480c77 (patch)
tree1b58ce1800e491027be7f769b13010a98682caa5 /unittests/Tooling
parent5d2a20671954f55f765b96375e8bcd38367cb3ba (diff)
downloadclang-2ab056f31b83b8f1751d54614138f2e57e480c77.tar.gz
clang-2ab056f31b83b8f1751d54614138f2e57e480c77.tar.bz2
clang-2ab056f31b83b8f1751d54614138f2e57e480c77.tar.xz
unittests/Tooling/ToolingTest.cpp: Suppress new tests on win32, due to handling of virtual file, such "/a.cc".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Tooling')
-rw-r--r--unittests/Tooling/ToolingTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Tooling/ToolingTest.cpp b/unittests/Tooling/ToolingTest.cpp
index 2afe9292f5..2c4a8a7a15 100644
--- a/unittests/Tooling/ToolingTest.cpp
+++ b/unittests/Tooling/ToolingTest.cpp
@@ -300,7 +300,6 @@ TEST(ClangToolTest, BuildASTs) {
llvm::DeleteContainerPointers(ASTs);
}
-#endif
struct TestDiagnosticConsumer : public DiagnosticConsumer {
TestDiagnosticConsumer() : NumDiagnosticsSeen(0) {}
@@ -332,6 +331,7 @@ TEST(ClangToolTest, InjectDiagnosticConsumerInBuildASTs) {
EXPECT_EQ(1u, ASTs.size());
EXPECT_EQ(1u, Consumer.NumDiagnosticsSeen);
}
+#endif
} // end namespace tooling
} // end namespace clang