clang-modernize: Fixing a few left over cpp11-migrate references

Build files for unit tests hadn't been updated yet.

llvm-svn: 191451
This commit is contained in:
Edwin Vane 2013-09-26 19:26:58 +00:00
parent deedc3a6bd
commit bdd8561dea
2 changed files with 5 additions and 5 deletions

View File

@ -2,16 +2,16 @@ set(LLVM_LINK_COMPONENTS
support
)
get_filename_component(CPP11_MIGRATE_SOURCE_DIR
get_filename_component(CLANG_MODERNIZE_SOURCE_DIR
${CMAKE_CURRENT_SOURCE_DIR}/../../clang-modernize REALPATH)
get_filename_component(ClangReplaceLocation
"${CMAKE_CURRENT_SOURCE_DIR}/../../clang-apply-replacements/include" REALPATH)
include_directories(
${CPP11_MIGRATE_SOURCE_DIR}
${CLANG_MODERNIZE_SOURCE_DIR}
${ClangReplaceLocation}
)
add_extra_unittest(Cpp11MigrateTests
add_extra_unittest(ClangModernizeTests
FileOverridesTest.cpp
ReformattingTest.cpp
IncludeExcludeTest.cpp
@ -21,7 +21,7 @@ add_extra_unittest(Cpp11MigrateTests
IncludeDirectivesTest.cpp
)
target_link_libraries(Cpp11MigrateTests
target_link_libraries(ClangModernizeTests
modernizeCore
clangFormat
clangTooling

View File

@ -10,7 +10,7 @@
CLANG_LEVEL = ../../../..
include $(CLANG_LEVEL)/../../Makefile.config
TESTNAME = Cpp11MigrateTests
TESTNAME = ClangModernizeTests
LINK_COMPONENTS := asmparser bitreader support MC MCParser option \
TransformUtils
USEDLIBS = modernizeCore.a clangFormat.a clangApplyReplacements.a clangTooling.a clangFrontend.a \