summaryrefslogtreecommitdiffstats
path: root/compiler-rt/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
commitbc0d697db9e3552cebe21c3f1832c14762bd6ebd (patch)
tree4d5710c2bc717d594ccc60cc8ccfaba999543997 /compiler-rt/lib/xray
parentcaf03a41f3b876ef1ddce78c15a77dcb9ecdc125 (diff)
downloadbcm5719-llvm-bc0d697db9e3552cebe21c3f1832c14762bd6ebd.tar.gz
bcm5719-llvm-bc0d697db9e3552cebe21c3f1832c14762bd6ebd.zip
compiler-rt: Rename .cc file in lib/xray/tests/unit to .cpp
Like r367463, but for xray/texts/unit. llvm-svn: 367550
Diffstat (limited to 'compiler-rt/lib/xray')
-rw-r--r--compiler-rt/lib/xray/tests/unit/CMakeLists.txt20
-rw-r--r--compiler-rt/lib/xray/tests/unit/allocator_test.cpp (renamed from compiler-rt/lib/xray/tests/unit/allocator_test.cc)2
-rw-r--r--compiler-rt/lib/xray/tests/unit/buffer_queue_test.cpp (renamed from compiler-rt/lib/xray/tests/unit/buffer_queue_test.cc)2
-rw-r--r--compiler-rt/lib/xray/tests/unit/fdr_controller_test.cpp (renamed from compiler-rt/lib/xray/tests/unit/fdr_controller_test.cc)2
-rw-r--r--compiler-rt/lib/xray/tests/unit/fdr_log_writer_test.cpp (renamed from compiler-rt/lib/xray/tests/unit/fdr_log_writer_test.cc)2
-rw-r--r--compiler-rt/lib/xray/tests/unit/function_call_trie_test.cpp (renamed from compiler-rt/lib/xray/tests/unit/function_call_trie_test.cc)2
-rw-r--r--compiler-rt/lib/xray/tests/unit/profile_collector_test.cpp (renamed from compiler-rt/lib/xray/tests/unit/profile_collector_test.cc)2
-rw-r--r--compiler-rt/lib/xray/tests/unit/segmented_array_test.cpp (renamed from compiler-rt/lib/xray/tests/unit/segmented_array_test.cc)0
-rw-r--r--compiler-rt/lib/xray/tests/unit/test_helpers.cpp (renamed from compiler-rt/lib/xray/tests/unit/test_helpers.cc)2
-rw-r--r--compiler-rt/lib/xray/tests/unit/xray_unit_test_main.cpp (renamed from compiler-rt/lib/xray/tests/unit/xray_unit_test_main.cc)2
10 files changed, 19 insertions, 17 deletions
diff --git a/compiler-rt/lib/xray/tests/unit/CMakeLists.txt b/compiler-rt/lib/xray/tests/unit/CMakeLists.txt
index d10524b8d03..a8149836673 100644
--- a/compiler-rt/lib/xray/tests/unit/CMakeLists.txt
+++ b/compiler-rt/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/compiler-rt/lib/xray/tests/unit/allocator_test.cc b/compiler-rt/lib/xray/tests/unit/allocator_test.cpp
index d5556133540..25557632402 100644
--- a/compiler-rt/lib/xray/tests/unit/allocator_test.cc
+++ b/compiler-rt/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/compiler-rt/lib/xray/tests/unit/buffer_queue_test.cc b/compiler-rt/lib/xray/tests/unit/buffer_queue_test.cpp
index 4af63d09507..6d1af9c78f6 100644
--- a/compiler-rt/lib/xray/tests/unit/buffer_queue_test.cc
+++ b/compiler-rt/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/compiler-rt/lib/xray/tests/unit/fdr_controller_test.cc b/compiler-rt/lib/xray/tests/unit/fdr_controller_test.cpp
index 7bb87980afe..f4808e42e43 100644
--- a/compiler-rt/lib/xray/tests/unit/fdr_controller_test.cc
+++ b/compiler-rt/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/compiler-rt/lib/xray/tests/unit/fdr_log_writer_test.cc b/compiler-rt/lib/xray/tests/unit/fdr_log_writer_test.cpp
index 1ff880a96be..17072462a4a 100644
--- a/compiler-rt/lib/xray/tests/unit/fdr_log_writer_test.cc
+++ b/compiler-rt/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/compiler-rt/lib/xray/tests/unit/function_call_trie_test.cc b/compiler-rt/lib/xray/tests/unit/function_call_trie_test.cpp
index 6d8df9ae362..b33cc57895a 100644
--- a/compiler-rt/lib/xray/tests/unit/function_call_trie_test.cc
+++ b/compiler-rt/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/compiler-rt/lib/xray/tests/unit/profile_collector_test.cc b/compiler-rt/lib/xray/tests/unit/profile_collector_test.cpp
index b1bfdc40b99..eab5579cb3e 100644
--- a/compiler-rt/lib/xray/tests/unit/profile_collector_test.cc
+++ b/compiler-rt/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/compiler-rt/lib/xray/tests/unit/segmented_array_test.cc b/compiler-rt/lib/xray/tests/unit/segmented_array_test.cpp
index 46aeb88f71b..46aeb88f71b 100644
--- a/compiler-rt/lib/xray/tests/unit/segmented_array_test.cc
+++ b/compiler-rt/lib/xray/tests/unit/segmented_array_test.cpp
diff --git a/compiler-rt/lib/xray/tests/unit/test_helpers.cc b/compiler-rt/lib/xray/tests/unit/test_helpers.cpp
index 0ed4966ca21..6075f36a4a7 100644
--- a/compiler-rt/lib/xray/tests/unit/test_helpers.cc
+++ b/compiler-rt/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/compiler-rt/lib/xray/tests/unit/xray_unit_test_main.cc b/compiler-rt/lib/xray/tests/unit/xray_unit_test_main.cpp
index 3ab2a623cf1..1bab3a783de 100644
--- a/compiler-rt/lib/xray/tests/unit/xray_unit_test_main.cc
+++ b/compiler-rt/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.
OpenPOWER on IntegriCloud