[clang-tools-extra] r266874 - IncludeFixerTest.cpp: Tweak not to assume clang-tools-extra were onto clang/tools/extra.
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 20 07:14:16 PDT 2016
Author: chapuni
Date: Wed Apr 20 09:14:16 2016
New Revision: 266874
URL: http://llvm.org/viewvc/llvm-project?rev=266874&view=rev
Log:
IncludeFixerTest.cpp: Tweak not to assume clang-tools-extra were onto clang/tools/extra.
Modified:
clang-tools-extra/trunk/unittests/include-fixer/CMakeLists.txt
clang-tools-extra/trunk/unittests/include-fixer/IncludeFixerTest.cpp
Modified: clang-tools-extra/trunk/unittests/include-fixer/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/include-fixer/CMakeLists.txt?rev=266874&r1=266873&r2=266874&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/include-fixer/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/unittests/include-fixer/CMakeLists.txt Wed Apr 20 09:14:16 2016
@@ -8,6 +8,9 @@ include_directories(
${INCLUDE_FIXER_SOURCE_DIR}
)
+# We'd like to clang/unittests/Tooling/RewriterTestContext.h in the test.
+include_directories(${CLANG_SOURCE_DIR})
+
add_extra_unittest(IncludeFixerTests
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=266874&r1=266873&r2=266874&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/include-fixer/IncludeFixerTest.cpp (original)
+++ clang-tools-extra/trunk/unittests/include-fixer/IncludeFixerTest.cpp Wed Apr 20 09:14:16 2016
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
-#include "../../../../unittests/Tooling/RewriterTestContext.h"
+#include "unittests/Tooling/RewriterTestContext.h"
#include "InMemoryXrefsDB.h"
#include "IncludeFixer.h"
#include "clang/Tooling/Tooling.h"
More information about the cfe-commits
mailing list