Skip to content

Commit 1265d0f

Browse files
committed
compiler-rt: Rename .cc file in lib/msan/tests to .cpp
Like r367463, but for msan/tests. llvm-svn: 367563
1 parent 60c66db commit 1265d0f

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

compiler-rt/lib/msan/tests/CMakeLists.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@ set(MSAN_LIBCXX_CFLAGS
1111
-Wno-pedantic)
1212

1313
# Unittest sources and build flags.
14-
set(MSAN_UNITTEST_SOURCES msan_test.cc msan_test_main.cc)
15-
set(MSAN_LOADABLE_SOURCE msan_loadable.cc)
14+
set(MSAN_UNITTEST_SOURCES
15+
msan_test.cpp
16+
msan_test_main.cpp
17+
)
18+
set(MSAN_LOADABLE_SOURCE
19+
msan_loadable.cpp
20+
)
1621
set(MSAN_UNITTEST_HEADERS
1722
msan_test_config.h
1823
../../../include/sanitizer/msan_interface.h
19-
)
24+
)
2025
set(MSAN_UNITTEST_COMMON_CFLAGS
2126
-nostdinc++
2227
-isystem ${COMPILER_RT_LIBCXX_PATH}/include

compiler-rt/lib/msan/tests/msan_loadable.cc renamed to compiler-rt/lib/msan/tests/msan_loadable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- msan_loadable.cc --------------------------------------------------===//
1+
//===-- msan_loadable.cpp -------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/msan/tests/msan_test.cc renamed to compiler-rt/lib/msan/tests/msan_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- msan_test.cc ------------------------------------------------------===//
1+
//===-- msan_test.cpp -----------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

compiler-rt/lib/msan/tests/msan_test_main.cc renamed to compiler-rt/lib/msan/tests/msan_test_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- msan_test_main.cc -------------------------------------------------===//
1+
//===-- msan_test_main.cpp ------------------------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

0 commit comments

Comments
 (0)