Skip to content

Commit

Permalink
facebook-unused-include-check in fbcode/folly/test
Browse files Browse the repository at this point in the history
Summary:
Remove headers flagged by facebook-unused-include-check over fbcode.folly.test.

+ format and autodeps

This is a codemod. It was automatically generated and will be landed once it is approved and tests are passing in sandcastle.
You have been added as a reviewer by Sentinel or Butterfly.

Autodiff project: uif
Autodiff partition: fbcode.folly.test
Autodiff bookmark: ad.uif.fbcode.folly.test

Reviewed By: dtolnay

Differential Revision: D65957919

fbshipit-source-id: cac7d8a67acce3c5f4ef5a8312a4986f67450030
  • Loading branch information
Gownta authored and facebook-github-bot committed Nov 25, 2024
1 parent 73ee4cf commit 56ac423
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/AtomicLinkedListTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include <algorithm>
#include <atomic>
#include <cstdint>
#include <thread>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/ExpectedTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#include <glog/logging.h>

#include <folly/Portability.h>
#include <folly/lang/Keep.h>
#include <folly/portability/GTest.h>

Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/FBVectorTestUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <string>

#include <folly/FBString.h>
#include <folly/Random.h>

namespace folly {
namespace test {
Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/FormatBenchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <folly/Utility.h>
#include <folly/init/Init.h>
#include <folly/json/dynamic.h>
#include <folly/json/json.h>

FOLLY_GNU_DISABLE_WARNING("-Wdeprecated-declarations")

Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/FunctionRefBenchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

#include <folly/Benchmark.h>
#include <folly/Function.h>
#include <folly/Random.h>
#include <folly/synchronization/detail/InlineFunctionRef.h>

/**
Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/OptionalTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <unordered_map>
#include <vector>

#include <folly/CppAttributes.h>
#include <folly/Portability.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/PolyTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <array>

#include <folly/Conv.h>
#include <folly/CppAttributes.h>
#include <folly/poly/Nullable.h>
#include <folly/poly/Regular.h>
#include <folly/portability/GTest.h>
Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/SingletonBenchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <thread>

#include <folly/Benchmark.h>
#include <folly/Memory.h>
#include <folly/SingletonThreadLocal.h>
#include <folly/portability/GFlags.h>

Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/SingletonTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <boost/thread/barrier.hpp>
#include <glog/logging.h>

#include <folly/experimental/io/FsUtil.h>
#include <folly/io/async/EventBase.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

#include <fcntl.h>
#include <signal.h>
#include <sys/types.h>

#include <glog/logging.h>

Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/SynchronizedBenchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <map>
#include <memory>
#include <mutex>
#include <shared_mutex>
#include <thread>

#include <folly/Benchmark.h>
Expand Down
1 change: 0 additions & 1 deletion third-party/folly/src/folly/test/TryTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#include <glog/logging.h>

#include <folly/Memory.h>
#include <folly/Traits.h>
#include <folly/lang/Exception.h>
#include <folly/portability/GTest.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#include <folly/test/function_benchmark/test_functions.h>

#include <folly/lang/Exception.h>

/*
* These functions are defined in a separate file so that
* gcc won't be able to inline them.
Expand Down

0 comments on commit 56ac423

Please sign in to comment.