summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-08-01 13:56:52 +0000
committerNico Weber <nicolasweber@gmx.de>2019-08-01 13:56:52 +0000
commit5e3e44df1746f02fff693edeee2c0c91e2cd9874 (patch)
tree54e22ee31c0575df912dda9067d16cd550ac8837
parent22a5f66bdae784985ee5d34c43cea53e6e171170 (diff)
downloadcompiler-rt-5e3e44df1746f02fff693edeee2c0c91e2cd9874.tar.gz
compiler-rt: Rename .cc file in lib/{interception/tests,safestack} to .cpp
Like r367463, but for interception/tests and safestack. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@367560 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/interception/tests/CMakeLists.txt8
-rw-r--r--lib/interception/tests/interception_linux_test.cpp (renamed from lib/interception/tests/interception_linux_test.cc)2
-rw-r--r--lib/interception/tests/interception_test_main.cpp (renamed from lib/interception/tests/interception_test_main.cc)2
-rw-r--r--lib/interception/tests/interception_win_test.cpp (renamed from lib/interception/tests/interception_win_test.cc)2
-rw-r--r--lib/safestack/CMakeLists.txt4
-rw-r--r--lib/safestack/safestack.cpp (renamed from lib/safestack/safestack.cc)2
6 files changed, 11 insertions, 9 deletions
diff --git a/lib/interception/tests/CMakeLists.txt b/lib/interception/tests/CMakeLists.txt
index 96bdda73e..b2418110f 100644
--- a/lib/interception/tests/CMakeLists.txt
+++ b/lib/interception/tests/CMakeLists.txt
@@ -3,10 +3,10 @@ include(CompilerRTCompile)
filter_available_targets(INTERCEPTION_UNITTEST_SUPPORTED_ARCH x86_64 i386 mips64 mips64el)
set(INTERCEPTION_UNITTESTS
- interception_linux_test.cc
- interception_test_main.cc
- interception_win_test.cc
-)
+ interception_linux_test.cpp
+ interception_test_main.cpp
+ interception_win_test.cpp
+ )
set(INTERCEPTION_TEST_HEADERS)
diff --git a/lib/interception/tests/interception_linux_test.cc b/lib/interception/tests/interception_linux_test.cpp
index 3e859cb1a..c79fbf2fa 100644
--- a/lib/interception/tests/interception_linux_test.cc
+++ b/lib/interception/tests/interception_linux_test.cpp
@@ -1,4 +1,4 @@
-//===-- interception_linux_test.cc ----------------------------------------===//
+//===-- interception_linux_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/interception/tests/interception_test_main.cc b/lib/interception/tests/interception_test_main.cpp
index 97e5b377a..1444fd53a 100644
--- a/lib/interception/tests/interception_test_main.cc
+++ b/lib/interception/tests/interception_test_main.cpp
@@ -1,4 +1,4 @@
-//===-- interception_test_main.cc------------------------------------------===//
+//===-- interception_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.
diff --git a/lib/interception/tests/interception_win_test.cc b/lib/interception/tests/interception_win_test.cpp
index c3affc45b..f8ab4ec67 100644
--- a/lib/interception/tests/interception_win_test.cc
+++ b/lib/interception/tests/interception_win_test.cpp
@@ -1,4 +1,4 @@
-//===-- interception_win_test.cc ------------------------------------------===//
+//===-- interception_win_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/safestack/CMakeLists.txt b/lib/safestack/CMakeLists.txt
index aa259e8d6..316ab69ec 100644
--- a/lib/safestack/CMakeLists.txt
+++ b/lib/safestack/CMakeLists.txt
@@ -1,6 +1,8 @@
add_compiler_rt_component(safestack)
-set(SAFESTACK_SOURCES safestack.cc)
+set(SAFESTACK_SOURCES
+ safestack.cpp
+ )
include_directories(..)
diff --git a/lib/safestack/safestack.cc b/lib/safestack/safestack.cpp
index f713d5e68..0751f3988 100644
--- a/lib/safestack/safestack.cc
+++ b/lib/safestack/safestack.cpp
@@ -1,4 +1,4 @@
-//===-- safestack.cc ------------------------------------------------------===//
+//===-- safestack.cpp -----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.