summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-08-01 14:09:37 +0000
committerNico Weber <nicolasweber@gmx.de>2019-08-01 14:09:37 +0000
commit6e2190f8eba3e327f19d687d609e7dda56c75736 (patch)
tree53668349e12014361ae85d865755a8b4ad96d9ac
parenta8f02bfdee0db1e755844ff823e62abb8cbdc199 (diff)
downloadcompiler-rt-6e2190f8eba3e327f19d687d609e7dda56c75736.tar.gz
compiler-rt: Rename .cc file in lib/msan/tests to .cpp
Like r367463, but for msan/tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@367563 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/msan/tests/CMakeLists.txt11
-rw-r--r--lib/msan/tests/msan_loadable.cpp (renamed from lib/msan/tests/msan_loadable.cc)2
-rw-r--r--lib/msan/tests/msan_test.cpp (renamed from lib/msan/tests/msan_test.cc)2
-rw-r--r--lib/msan/tests/msan_test_main.cpp (renamed from lib/msan/tests/msan_test_main.cc)2
4 files changed, 11 insertions, 6 deletions
diff --git a/lib/msan/tests/CMakeLists.txt b/lib/msan/tests/CMakeLists.txt
index eceb11cdd..9949e81a2 100644
--- a/lib/msan/tests/CMakeLists.txt
+++ b/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/lib/msan/tests/msan_loadable.cc b/lib/msan/tests/msan_loadable.cpp
index b5bc7ff40..7bc651512 100644
--- a/lib/msan/tests/msan_loadable.cc
+++ b/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/lib/msan/tests/msan_test.cc b/lib/msan/tests/msan_test.cpp
index 9d2f5a73b..33a3fbb1f 100644
--- a/lib/msan/tests/msan_test.cc
+++ b/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/lib/msan/tests/msan_test_main.cc b/lib/msan/tests/msan_test_main.cpp
index d9839dc2b..fae905b24 100644
--- a/lib/msan/tests/msan_test_main.cc
+++ b/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.