From 15fb86c4e6128cee68f2411fe3c34569e924b7a4 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 13 Aug 2014 22:12:38 +0000 Subject: [PATCH] ClangTidyTests: Suppress FixHeaderGuards on win32 for now. FIXME: It seems this might be incompatible to dos path. Investigating. llvm-svn: 215590 --- clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp b/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp index b57630de3caa..5423169caba3 100644 --- a/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp +++ b/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp @@ -86,6 +86,8 @@ TEST(NamespaceCommentCheckTest, FixWrongComments) { "} // namespace asdf")); } +// FIXME: It seems this might be incompatible to dos path. Investigating. +#if !defined(_WIN32) static std::string runHeaderGuardCheck(StringRef Code, const Twine &Filename) { return test::runCheckOnCode( Code, /*Errors=*/nullptr, Filename, std::string("-xc++-header")); @@ -125,6 +127,7 @@ TEST(LLVMHeaderGuardCheckTest, FixHeaderGuards) { "int foo;\n#ifndef FOOLOLO\n#define FOOLOLO\n#endif\n", "include/clang/bar.h")); } +#endif } // namespace test } // namespace tidy