[libc-commits] [libc] [llvm] [libc][NFC] Rename `uint_test` into `big_int_test` for consistency (PR #87875)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Sat Apr 6 02:35:48 PDT 2024


https://github.com/gchatelet updated https://github.com/llvm/llvm-project/pull/87875

>From 8e583e691027ad1d65c443c23d3ee29650b89201 Mon Sep 17 00:00:00 2001
From: Guillaume Chatelet <gchatelet at google.com>
Date: Sat, 6 Apr 2024 09:30:26 +0000
Subject: [PATCH 1/2] [libc][NFC] Rename `uint_test` into `big_int_test` for
 consistency

---
 libc/test/src/__support/CMakeLists.txt                        | 4 ++--
 .../llvm-project-overlay/libc/test/src/__support/BUILD.bazel  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libc/test/src/__support/CMakeLists.txt b/libc/test/src/__support/CMakeLists.txt
index 02ee91d0dc99a0..5d1230f5f3a70f 100644
--- a/libc/test/src/__support/CMakeLists.txt
+++ b/libc/test/src/__support/CMakeLists.txt
@@ -101,11 +101,11 @@ endif()
 
 if(NOT LIBC_TARGET_ARCHITECTURE_IS_NVPTX)
   add_libc_test(
-    uint_test
+    big_int_test
     SUITE
       libc-support-tests
     SRCS
-      uint_test.cpp
+      big_int_test.cpp
     DEPENDS
       libc.src.__support.big_int
       libc.src.__support.CPP.optional
diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
index 0ed5951904a0e4..3980ef60c197ed 100644
--- a/utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
@@ -83,8 +83,8 @@ libc_test(
 )
 
 libc_test(
-    name = "uint_test",
-    srcs = ["uint_test.cpp"],
+    name = "big_int_test",
+    srcs = ["big_int_test.cpp"],
     deps = [
         "//libc:__support_big_int",
         "//libc:__support_cpp_optional",

>From 2c38dd5662a3074742587d1325ad3441e1748f8b Mon Sep 17 00:00:00 2001
From: Guillaume Chatelet <gchatelet at google.com>
Date: Sat, 6 Apr 2024 09:32:20 +0000
Subject: [PATCH 2/2] Actually rename the file ^__^'

---
 libc/test/src/__support/{uint_test.cpp => big_int_test.cpp} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename libc/test/src/__support/{uint_test.cpp => big_int_test.cpp} (100%)

diff --git a/libc/test/src/__support/uint_test.cpp b/libc/test/src/__support/big_int_test.cpp
similarity index 100%
rename from libc/test/src/__support/uint_test.cpp
rename to libc/test/src/__support/big_int_test.cpp



More information about the libc-commits mailing list