From 21d89ca4b83c26137c4b2710ff77fcd8fdb80ba6 Mon Sep 17 00:00:00 2001 From: Peng Liu Date: Thu, 7 Nov 2024 23:28:41 -0500 Subject: [PATCH 1/3] Use explicit #include instead of transitive #include --- libcxx/test/benchmarks/vector_operations.bench.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libcxx/test/benchmarks/vector_operations.bench.cpp b/libcxx/test/benchmarks/vector_operations.bench.cpp index b0dffe35ec6e1..119f9e16dadc6 100644 --- a/libcxx/test/benchmarks/vector_operations.bench.cpp +++ b/libcxx/test/benchmarks/vector_operations.bench.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include "benchmark/benchmark.h" From fafa5f62fa8647b9d17b82a20a51374bcfb2e72b Mon Sep 17 00:00:00 2001 From: Peng Liu Date: Fri, 8 Nov 2024 01:05:53 -0500 Subject: [PATCH 2/3] Add #include --- libcxx/test/benchmarks/vector_operations.bench.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libcxx/test/benchmarks/vector_operations.bench.cpp b/libcxx/test/benchmarks/vector_operations.bench.cpp index 119f9e16dadc6..a7bf42b498832 100644 --- a/libcxx/test/benchmarks/vector_operations.bench.cpp +++ b/libcxx/test/benchmarks/vector_operations.bench.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include "benchmark/benchmark.h" From 9c721f175622298afa5cf9e9ea981347f2e2e43a Mon Sep 17 00:00:00 2001 From: Peng Liu Date: Fri, 8 Nov 2024 08:51:09 -0500 Subject: [PATCH 3/3] Adjust order of headers --- libcxx/test/benchmarks/vector_operations.bench.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/test/benchmarks/vector_operations.bench.cpp b/libcxx/test/benchmarks/vector_operations.bench.cpp index a7bf42b498832..ce8ab233fc981 100644 --- a/libcxx/test/benchmarks/vector_operations.bench.cpp +++ b/libcxx/test/benchmarks/vector_operations.bench.cpp @@ -13,9 +13,9 @@ #include #include #include -#include -#include #include +#include +#include #include "benchmark/benchmark.h"