[clang-tools-extra] r191451 - clang-modernize: Fixing a few left over cpp11-migrate references

Edwin Vane edwin.vane at intel.com
Thu Sep 26 12:26:59 PDT 2013


Author: revane
Date: Thu Sep 26 14:26:58 2013
New Revision: 191451

URL: http://llvm.org/viewvc/llvm-project?rev=191451&view=rev
Log:
clang-modernize: Fixing a few left over cpp11-migrate references

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


Modified:
    clang-tools-extra/trunk/unittests/clang-modernize/CMakeLists.txt
    clang-tools-extra/trunk/unittests/clang-modernize/Makefile

Modified: clang-tools-extra/trunk/unittests/clang-modernize/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-modernize/CMakeLists.txt?rev=191451&r1=191450&r2=191451&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-modernize/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/unittests/clang-modernize/CMakeLists.txt Thu Sep 26 14:26:58 2013
@@ -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

Modified: clang-tools-extra/trunk/unittests/clang-modernize/Makefile
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-modernize/Makefile?rev=191451&r1=191450&r2=191451&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-modernize/Makefile (original)
+++ clang-tools-extra/trunk/unittests/clang-modernize/Makefile Thu Sep 26 14:26:58 2013
@@ -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 \





More information about the cfe-commits mailing list