Skip to content

Commit

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

+ 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.fb303
Autodiff bookmark: ad.uif.fbcode.fb303

Reviewed By: sruffell

Differential Revision: D65957907

fbshipit-source-id: cdcef1d8f2a684f70ba74c23e49416e117ac7e2f
  • Loading branch information
Gownta authored and facebook-github-bot committed Nov 14, 2024
1 parent 9a6e7e3 commit 2e5951c
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions fb303/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ cpp_library(
":legacy_clock",
":timeseries_exporter",
"//folly:format",
"//folly:optional",
"//folly:string",
],
exported_deps = [
":dynamic_counters",
Expand Down
2 changes: 0 additions & 2 deletions fb303/HistogramExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#include <fb303/LegacyClock.h>
#include <fb303/TimeseriesExporter.h>
#include <folly/Format.h>
#include <folly/Optional.h>
#include <folly/String.h>
#include <folly/small_vector.h>
#include <glog/logging.h>
#include <functional>
Expand Down
3 changes: 0 additions & 3 deletions fb303/detail/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,4 @@ cpp_library(
"//folly/container:regex_match_cache",
"//folly/container:reserve",
],
external_deps = [
("boost", None, "boost_regex"),
],
)
2 changes: 0 additions & 2 deletions fb303/detail/RegexUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#include <fb303/detail/RegexUtil.h>

#include <boost/regex.hpp>

namespace facebook::fb303::detail {

void cachedFindMatchesCopyUnderSharedLock(
Expand Down
3 changes: 0 additions & 3 deletions fb303/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ cpp_benchmark(
"//fb303:base_service",
"//folly:benchmark",
"//folly:optional",
"//folly:random",
"//folly:string",
"//folly/init:init",
"//folly/json:dynamic",
"//thrift/lib/cpp2/util:util",
Expand Down Expand Up @@ -158,7 +156,6 @@ cpp_unittest(
deps = [
"//common/stats:service_data",
"//fb303:exported_stat_map_impl",
"//folly:string",
],
)

Expand Down
1 change: 0 additions & 1 deletion fb303/test/ExportedStatMapLoadTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

#include <fb303/ExportedStatMapImpl.h>
#include <folly/String.h>
#include "common/stats/ServiceData.h"

#include <gtest/gtest.h>
Expand Down
2 changes: 0 additions & 2 deletions fb303/test/GetRegexCountersClientBenchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
#include <fb303/test/gen-cpp2/TestService.h>
#include <folly/Benchmark.h>
#include <folly/Optional.h>
#include <folly/Random.h>
#include <folly/String.h>
#include <folly/init/Init.h>
#include <folly/json/DynamicConverter.h>
#include <thrift/lib/cpp2/util/ScopedServerInterfaceThread.h>
Expand Down

0 comments on commit 2e5951c

Please sign in to comment.