summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/msan/tests/CMakeLists.txt11
-rw-r--r--compiler-rt/lib/msan/tests/msan_loadable.cpp (renamed from compiler-rt/lib/msan/tests/msan_loadable.cc)2
-rw-r--r--compiler-rt/lib/msan/tests/msan_test.cpp (renamed from compiler-rt/lib/msan/tests/msan_test.cc)2
-rw-r--r--compiler-rt/lib/msan/tests/msan_test_main.cpp (renamed from compiler-rt/lib/msan/tests/msan_test_main.cc)2
4 files changed, 11 insertions, 6 deletions
diff --git a/compiler-rt/lib/msan/tests/CMakeLists.txt b/compiler-rt/lib/msan/tests/CMakeLists.txt
index eceb11cdd6e..9949e81a2c1 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
index b5bc7ff4018..7bc651512cc 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
index 9d2f5a73be3..33a3fbb1f27 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
index d9839dc2bed..fae905b243a 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.
OpenPOWER on IntegriCloud