[libc-commits] [libc] 1404d9d - [libc] Remove unused #include <vector> in fmin_test, fminf_test, and fminl_test.

Tue Ly via libc-commits libc-commits at lists.llvm.org
Thu Jul 23 12:31:30 PDT 2020


Author: Tue Ly
Date: 2020-07-23T15:26:05-04:00
New Revision: 1404d9d68a9cd23c9231109e2164f8ed2e87d8dd

URL: https://github.com/llvm/llvm-project/commit/1404d9d68a9cd23c9231109e2164f8ed2e87d8dd
DIFF: https://github.com/llvm/llvm-project/commit/1404d9d68a9cd23c9231109e2164f8ed2e87d8dd.diff

LOG: [libc] Remove unused #include <vector> in fmin_test, fminf_test, and fminl_test.

Added: 
    

Modified: 
    libc/src/math/fminf.cpp
    libc/test/src/math/fmin_test.cpp
    libc/test/src/math/fminf_test.cpp
    libc/test/src/math/fminl_test.cpp

Removed: 
    


################################################################################
diff  --git a/libc/src/math/fminf.cpp b/libc/src/math/fminf.cpp
index 8f5b54873f8f..97ad399f4a2b 100644
--- a/libc/src/math/fminf.cpp
+++ b/libc/src/math/fminf.cpp
@@ -15,4 +15,4 @@ float LLVM_LIBC_ENTRYPOINT(fminf)(float x, float y) {
   return fputil::fmin(x, y);
 }
 
-} // namespace __llvm_libc
\ No newline at end of file
+} // namespace __llvm_libc

diff  --git a/libc/test/src/math/fmin_test.cpp b/libc/test/src/math/fmin_test.cpp
index c1467e4cbb90..7fd1e8af1e51 100644
--- a/libc/test/src/math/fmin_test.cpp
+++ b/libc/test/src/math/fmin_test.cpp
@@ -6,8 +6,6 @@
 //
 //===---------------------------------------------------------------------===//
 
-#include <vector>
-
 #include "include/math.h"
 #include "src/math/fmin.h"
 #include "utils/FPUtil/FPBits.h"

diff  --git a/libc/test/src/math/fminf_test.cpp b/libc/test/src/math/fminf_test.cpp
index 8d03d92f7237..dea4e7ccf524 100644
--- a/libc/test/src/math/fminf_test.cpp
+++ b/libc/test/src/math/fminf_test.cpp
@@ -6,8 +6,6 @@
 //
 //===---------------------------------------------------------------------===//
 
-#include <vector>
-
 #include "include/math.h"
 #include "src/math/fminf.h"
 #include "utils/FPUtil/FPBits.h"

diff  --git a/libc/test/src/math/fminl_test.cpp b/libc/test/src/math/fminl_test.cpp
index 519c1f33fba6..3eabb55b0cab 100644
--- a/libc/test/src/math/fminl_test.cpp
+++ b/libc/test/src/math/fminl_test.cpp
@@ -6,8 +6,6 @@
 //
 //===---------------------------------------------------------------------===//
 
-#include <vector>
-
 #include "include/math.h"
 #include "src/math/fminl.h"
 #include "utils/FPUtil/FPBits.h"


        


More information about the libc-commits mailing list