summaryrefslogtreecommitdiff
path: root/lib/xray
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-08-01 12:35:27 +0000
committerNico Weber <nicolasweber@gmx.de>2019-08-01 12:35:27 +0000
commit65c1c8780a5ca562f8fd56096c681e73afa0d388 (patch)
tree31a0d914330bd37b5619a0ece981b178b686f6e9 /lib/xray
parent631f8b2dcc6c3867a696cf503bf97a09c33aedd6 (diff)
downloadcompiler-rt-65c1c8780a5ca562f8fd56096c681e73afa0d388.tar.gz
compiler-rt: Rename .cc file in lib/xray/tests/unit to .cpp
Like r367463, but for xray/texts/unit. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@367550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/xray')
-rw-r--r--lib/xray/tests/unit/CMakeLists.txt20
-rw-r--r--lib/xray/tests/unit/allocator_test.cpp (renamed from lib/xray/tests/unit/allocator_test.cc)2
-rw-r--r--lib/xray/tests/unit/buffer_queue_test.cpp (renamed from lib/xray/tests/unit/buffer_queue_test.cc)2
-rw-r--r--lib/xray/tests/unit/fdr_controller_test.cpp (renamed from lib/xray/tests/unit/fdr_controller_test.cc)2
-rw-r--r--lib/xray/tests/unit/fdr_log_writer_test.cpp (renamed from lib/xray/tests/unit/fdr_log_writer_test.cc)2
-rw-r--r--lib/xray/tests/unit/function_call_trie_test.cpp (renamed from lib/xray/tests/unit/function_call_trie_test.cc)2
-rw-r--r--lib/xray/tests/unit/profile_collector_test.cpp (renamed from lib/xray/tests/unit/profile_collector_test.cc)2
-rw-r--r--lib/xray/tests/unit/segmented_array_test.cpp (renamed from lib/xray/tests/unit/segmented_array_test.cc)0
-rw-r--r--lib/xray/tests/unit/test_helpers.cpp (renamed from lib/xray/tests/unit/test_helpers.cc)2
-rw-r--r--lib/xray/tests/unit/xray_unit_test_main.cpp (renamed from lib/xray/tests/unit/xray_unit_test_main.cc)2
10 files changed, 19 insertions, 17 deletions
diff --git a/lib/xray/tests/unit/CMakeLists.txt b/lib/xray/tests/unit/CMakeLists.txt
index d10524b8d..a81498366 100644
--- a/lib/xray/tests/unit/CMakeLists.txt
+++ b/lib/xray/tests/unit/CMakeLists.txt
@@ -1,16 +1,18 @@
set(TEST_SOURCES
- allocator_test.cc
- buffer_queue_test.cc
- function_call_trie_test.cc
- profile_collector_test.cc
- segmented_array_test.cc
- test_helpers.cc
- xray_unit_test_main.cc)
+ allocator_test.cpp
+ buffer_queue_test.cpp
+ function_call_trie_test.cpp
+ profile_collector_test.cpp
+ segmented_array_test.cpp
+ test_helpers.cpp
+ xray_unit_test_main.cpp
+ )
if (NOT COMPILER_RT_STANDALONE_BUILD OR COMPILER_RT_HAS_LLVMTESTINGSUPPORT)
list(APPEND TEST_SOURCES
- fdr_controller_test.cc
- fdr_log_writer_test.cc)
+ fdr_controller_test.cpp
+ fdr_log_writer_test.cpp
+ )
endif()
add_xray_unittest(XRayTest SOURCES ${TEST_SOURCES})
diff --git a/lib/xray/tests/unit/allocator_test.cc b/lib/xray/tests/unit/allocator_test.cpp
index d55561335..255576324 100644
--- a/lib/xray/tests/unit/allocator_test.cc
+++ b/lib/xray/tests/unit/allocator_test.cpp
@@ -1,4 +1,4 @@
-//===-- allocator_test.cc -------------------------------------------------===//
+//===-- allocator_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/xray/tests/unit/buffer_queue_test.cc b/lib/xray/tests/unit/buffer_queue_test.cpp
index 4af63d095..6d1af9c78 100644
--- a/lib/xray/tests/unit/buffer_queue_test.cc
+++ b/lib/xray/tests/unit/buffer_queue_test.cpp
@@ -1,4 +1,4 @@
-//===-- buffer_queue_test.cc ----------------------------------------------===//
+//===-- buffer_queue_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/xray/tests/unit/fdr_controller_test.cc b/lib/xray/tests/unit/fdr_controller_test.cpp
index 7bb87980a..f4808e42e 100644
--- a/lib/xray/tests/unit/fdr_controller_test.cc
+++ b/lib/xray/tests/unit/fdr_controller_test.cpp
@@ -1,4 +1,4 @@
-//===-- fdr_controller_test.cc --------------------------------------------===//
+//===-- fdr_controller_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/xray/tests/unit/fdr_log_writer_test.cc b/lib/xray/tests/unit/fdr_log_writer_test.cpp
index 1ff880a96..17072462a 100644
--- a/lib/xray/tests/unit/fdr_log_writer_test.cc
+++ b/lib/xray/tests/unit/fdr_log_writer_test.cpp
@@ -1,4 +1,4 @@
-//===-- fdr_log_writer_test.cc --------------------------------------------===//
+//===-- fdr_log_writer_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/xray/tests/unit/function_call_trie_test.cc b/lib/xray/tests/unit/function_call_trie_test.cpp
index 6d8df9ae3..b33cc5789 100644
--- a/lib/xray/tests/unit/function_call_trie_test.cc
+++ b/lib/xray/tests/unit/function_call_trie_test.cpp
@@ -1,4 +1,4 @@
-//===-- function_call_trie_test.cc ----------------------------------------===//
+//===-- function_call_trie_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/xray/tests/unit/profile_collector_test.cc b/lib/xray/tests/unit/profile_collector_test.cpp
index b1bfdc40b..eab5579cb 100644
--- a/lib/xray/tests/unit/profile_collector_test.cc
+++ b/lib/xray/tests/unit/profile_collector_test.cpp
@@ -1,4 +1,4 @@
-//===-- profile_collector_test.cc -----------------------------------------===//
+//===-- profile_collector_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/xray/tests/unit/segmented_array_test.cc b/lib/xray/tests/unit/segmented_array_test.cpp
index 46aeb88f7..46aeb88f7 100644
--- a/lib/xray/tests/unit/segmented_array_test.cc
+++ b/lib/xray/tests/unit/segmented_array_test.cpp
diff --git a/lib/xray/tests/unit/test_helpers.cc b/lib/xray/tests/unit/test_helpers.cpp
index 0ed4966ca..6075f36a4 100644
--- a/lib/xray/tests/unit/test_helpers.cc
+++ b/lib/xray/tests/unit/test_helpers.cpp
@@ -1,4 +1,4 @@
-//===-- test_helpers.cc ---------------------------------------------------===//
+//===-- test_helpers.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/xray/tests/unit/xray_unit_test_main.cc b/lib/xray/tests/unit/xray_unit_test_main.cpp
index 3ab2a623c..1bab3a783 100644
--- a/lib/xray/tests/unit/xray_unit_test_main.cc
+++ b/lib/xray/tests/unit/xray_unit_test_main.cpp
@@ -1,4 +1,4 @@
-//===-- xray_unit_test_main.cc --------------------------------------------===//
+//===-- xray_unit_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.