compiler-rt: Rename .cc file in lib/msan/tests to .cpp
authorNico Weber <nicolasweber@gmx.de>
Thu, 1 Aug 2019 14:09:37 +0000 (14:09 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 1 Aug 2019 14:09:37 +0000 (14:09 +0000)
Like r367463, but for msan/tests.

llvm-svn: 367563

compiler-rt/lib/msan/tests/CMakeLists.txt
compiler-rt/lib/msan/tests/msan_loadable.cpp [moved from compiler-rt/lib/msan/tests/msan_loadable.cc with 90% similarity]
compiler-rt/lib/msan/tests/msan_test.cpp [moved from compiler-rt/lib/msan/tests/msan_test.cc with 99% similarity]
compiler-rt/lib/msan/tests/msan_test_main.cpp [moved from compiler-rt/lib/msan/tests/msan_test_main.cc with 91% similarity]

index eceb11c..9949e81 100644 (file)
@@ -11,12 +11,17 @@ set(MSAN_LIBCXX_CFLAGS
   -Wno-pedantic)
 
 # Unittest sources and build flags.
-set(MSAN_UNITTEST_SOURCES msan_test.cc msan_test_main.cc)
-set(MSAN_LOADABLE_SOURCE msan_loadable.cc)
+set(MSAN_UNITTEST_SOURCES
+  msan_test.cpp
+  msan_test_main.cpp
+  )
+set(MSAN_LOADABLE_SOURCE
+  msan_loadable.cpp
+  )
 set(MSAN_UNITTEST_HEADERS
   msan_test_config.h
   ../../../include/sanitizer/msan_interface.h
-)
+  )
 set(MSAN_UNITTEST_COMMON_CFLAGS
   -nostdinc++
   -isystem ${COMPILER_RT_LIBCXX_PATH}/include
similarity index 90%
rename from compiler-rt/lib/msan/tests/msan_loadable.cc
rename to compiler-rt/lib/msan/tests/msan_loadable.cpp
index b5bc7ff..7bc6515 100644 (file)
@@ -1,4 +1,4 @@
-//===-- msan_loadable.cc --------------------------------------------------===//
+//===-- msan_loadable.cpp -------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
similarity index 99%
rename from compiler-rt/lib/msan/tests/msan_test.cc
rename to compiler-rt/lib/msan/tests/msan_test.cpp
index 9d2f5a7..33a3fbb 100644 (file)
@@ -1,4 +1,4 @@
-//===-- msan_test.cc ------------------------------------------------------===//
+//===-- msan_test.cpp -----------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
similarity index 91%
rename from compiler-rt/lib/msan/tests/msan_test_main.cc
rename to compiler-rt/lib/msan/tests/msan_test_main.cpp
index d9839dc..fae905b 100644 (file)
@@ -1,4 +1,4 @@
-//===-- msan_test_main.cc -------------------------------------------------===//
+//===-- msan_test_main.cpp ------------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.