From: Nico Weber Date: Thu, 1 Aug 2019 14:09:37 +0000 (+0000) Subject: compiler-rt: Rename .cc file in lib/msan/tests to .cpp X-Git-Tag: llvmorg-11-init~13058 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1265d0f44c35b8a62fdc2283ccc649a7bca2f68f;p=platform%2Fupstream%2Fllvm.git compiler-rt: Rename .cc file in lib/msan/tests to .cpp Like r367463, but for msan/tests. llvm-svn: 367563 --- diff --git a/compiler-rt/lib/msan/tests/CMakeLists.txt b/compiler-rt/lib/msan/tests/CMakeLists.txt index eceb11c..9949e81 100644 --- a/compiler-rt/lib/msan/tests/CMakeLists.txt +++ b/compiler-rt/lib/msan/tests/CMakeLists.txt @@ -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 diff --git a/compiler-rt/lib/msan/tests/msan_loadable.cc b/compiler-rt/lib/msan/tests/msan_loadable.cpp 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 --- a/compiler-rt/lib/msan/tests/msan_loadable.cc +++ b/compiler-rt/lib/msan/tests/msan_loadable.cpp @@ -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. diff --git a/compiler-rt/lib/msan/tests/msan_test.cc b/compiler-rt/lib/msan/tests/msan_test.cpp 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 --- a/compiler-rt/lib/msan/tests/msan_test.cc +++ b/compiler-rt/lib/msan/tests/msan_test.cpp @@ -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. diff --git a/compiler-rt/lib/msan/tests/msan_test_main.cc b/compiler-rt/lib/msan/tests/msan_test_main.cpp 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 --- a/compiler-rt/lib/msan/tests/msan_test_main.cc +++ b/compiler-rt/lib/msan/tests/msan_test_main.cpp @@ -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.