Skip to content

Commit

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

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

Reviewed By: dtolnay

Differential Revision: D65957922

fbshipit-source-id: fc5fa26e566ce1a78c2d30e3c47de2081f855756
  • Loading branch information
Gownta authored and facebook-github-bot committed Nov 15, 2024
1 parent 1451fbb commit 5050d1d
Show file tree
Hide file tree
Showing 26 changed files with 0 additions and 41 deletions.
1 change: 0 additions & 1 deletion fizz/backend/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ cpp_library(
],
deps = [
"//fizz/crypto/aead:cryptoutil",
"//folly:scope_guard",
"//folly/lang:checked_math",
],
exported_deps = [
Expand Down
1 change: 0 additions & 1 deletion fizz/backend/openssl/crypto/aead/OpenSSLEVPCipher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <fizz/backend/openssl/crypto/aead/OpenSSLEVPCipher.h>
#include <fizz/crypto/aead/CryptoUtil.h>
#include <folly/lang/CheckedMath.h>
#include <functional>

namespace fizz {
namespace openssl {
Expand Down
2 changes: 0 additions & 2 deletions fizz/backend/openssl/crypto/signature/Signature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@

#include <fizz/backend/openssl/crypto/OpenSSLKeyUtils.h>
#include <fizz/backend/openssl/crypto/signature/Signature.h>
#include <openssl/crypto.h>

#include <folly/Conv.h>
#include <folly/ScopeGuard.h>
#include <folly/ssl/OpenSSLPtrTypes.h>

using namespace folly;
Expand Down
1 change: 0 additions & 1 deletion fizz/backend/openssl/crypto/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ cpp_unittest(
deps = [
"//fizz/backend:openssl",
"//fizz/crypto/test:TestUtil",
"//folly:string",
"//folly/portability:gtest",
],
)
2 changes: 0 additions & 2 deletions fizz/backend/openssl/crypto/test/OpenSSLKeyUtilsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
#include <fizz/backend/openssl/crypto/OpenSSLKeyUtils.h>
#include <fizz/crypto/test/TestUtil.h>

#include <folly/String.h>

namespace fizz {
using namespace test;

Expand Down
2 changes: 0 additions & 2 deletions fizz/crypto/hpke/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ cpp_unittest(
],
supports_static_listing = False,
deps = [
":mocks",
"//fizz/backend:openssl",
"//fizz/crypto/aead/test:test_util",
"//fizz/crypto/hpke:context",
"//fizz/crypto/hpke:utils",
"//fizz/crypto/test:TestUtil",
"//fizz/protocol:types",
"//fizz/record:record",
],
)
Expand Down
2 changes: 0 additions & 2 deletions fizz/crypto/hpke/test/ContextTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
#include <fizz/crypto/aead/test/TestUtil.h>
#include <fizz/crypto/hpke/Context.h>
#include <fizz/crypto/hpke/Utils.h>
#include <fizz/crypto/hpke/test/Mocks.h>
#include <fizz/crypto/test/TestUtil.h>
#include <fizz/protocol/Types.h>
#include <fizz/record/Types.h>

using namespace fizz::test;
Expand Down
1 change: 0 additions & 1 deletion fizz/experimental/batcher/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ cpp_unittest(
"//fizz/experimental/batcher:batcher",
"//fizz/experimental/client:batch_signature_peer_cert",
"//fizz/experimental/server:batch_signature_async_self_cert",
"//fizz/server:protocol",
"//fizz/server/test:mocks",
"//folly/portability:gtest",
],
Expand Down
1 change: 0 additions & 1 deletion fizz/experimental/batcher/test/BatcherTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <fizz/experimental/batcher/Batcher.h>
#include <fizz/experimental/client/BatchSignaturePeerCert.h>
#include <fizz/experimental/server/BatchSignatureAsyncSelfCert.h>
#include <fizz/server/State.h>
#include <fizz/server/test/Mocks.h>
#include <folly/portability/GTest.h>

Expand Down
4 changes: 0 additions & 4 deletions fizz/extensions/delegatedcred/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ cpp_library(
"Types.h",
],
deps = [
"//folly:string",
"//folly/io:iobuf",
],
exported_deps = [
Expand Down Expand Up @@ -129,9 +128,6 @@ cpp_library(
headers = [
"DelegatedCredentialCertManager.h",
],
deps = [
":delegated_credential_utils",
],
exported_deps = [
":delegated_credential",
":self_delegated_credential",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree.
*/
#include <fizz/extensions/delegatedcred/DelegatedCredentialCertManager.h>
#include <fizz/extensions/delegatedcred/DelegatedCredentialUtils.h>

using namespace fizz::server;

Expand Down
1 change: 0 additions & 1 deletion fizz/extensions/delegatedcred/Types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <fizz/extensions/delegatedcred/Types.h>
#include <fizz/record/Types.h>

#include <folly/String.h>
#include <folly/io/Cursor.h>

using namespace fizz::extensions;
Expand Down
1 change: 0 additions & 1 deletion fizz/extensions/tokenbinding/Validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <fizz/extensions/tokenbinding/Validator.h>

#include <fizz/backend/openssl/OpenSSL.h>
#include <fizz/extensions/tokenbinding/Utils.h>
#include <fizz/protocol/DefaultFactory.h>

Expand Down
1 change: 0 additions & 1 deletion fizz/extensions/tokenbinding/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ cpp_unittest(
"//fizz/extensions/tokenbinding:token_binding_context",
"//fizz/extensions/tokenbinding:token_binding_server_extension",
"//fizz/record:record",
"//fizz/server:server_extensions",
"//folly/portability:gmock",
"//folly/portability:gtest",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <fizz/extensions/tokenbinding/TokenBindingServerExtension.h>
#include <fizz/extensions/tokenbinding/Types.h>
#include <fizz/record/Extensions.h>
#include <fizz/server/ServerExtensions.h>

using namespace testing;

Expand Down
1 change: 0 additions & 1 deletion fizz/record/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ cpp_unittest(
deps = [
":extension_tests_base",
"//fizz/record:record",
"//folly:string",
"//folly/portability:gmock",
"//folly/portability:gtest",
],
Expand Down
1 change: 0 additions & 1 deletion fizz/record/test/ExtensionsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include <fizz/record/Extensions.h>
#include <fizz/record/test/ExtensionTestsBase.h>
#include <folly/String.h>

using namespace folly;

Expand Down
2 changes: 0 additions & 2 deletions fizz/server/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,7 @@ cpp_library(
],
deps = [
"//fizz/crypto:random",
"//folly:conv",
"//folly:range",
"//folly/hash:hash",
"//folly/io:iobuf",
"//folly/portability:unistd",
],
Expand Down
4 changes: 0 additions & 4 deletions fizz/server/SlidingBloomReplayCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@

#include <fizz/server/SlidingBloomReplayCache.h>

#include <sys/types.h>

#include <fstream>

#include <folly/Conv.h>
#include <folly/hash/Hash.h>
#include <folly/io/IOBuf.h>
#include <folly/portability/Unistd.h>

Expand Down
1 change: 0 additions & 1 deletion fizz/server/test/AeadTicketCipherTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <fizz/crypto/test/TestUtil.h>
#include <fizz/protocol/clock/test/Mocks.h>
#include <fizz/protocol/test/Mocks.h>
#include <folly/String.h>

using namespace fizz::test;
using namespace testing;
Expand Down
2 changes: 0 additions & 2 deletions fizz/server/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ cpp_unittest(
],
deps = [
"//fizz/crypto/test:TestUtil",
"//fizz/crypto/test:mocks",
"//fizz/protocol/clock/test:mock_clock",
"//fizz/server:ticket_policy",
"//folly/portability:gmock",
Expand All @@ -108,7 +107,6 @@ cpp_unittest(
"//fizz/protocol/clock/test:mock_clock",
"//fizz/protocol/test:mocks",
"//fizz/server:aead_ticket_cipher",
"//folly:string",
"//folly/portability:gmock",
"//folly/portability:gtest",
],
Expand Down
1 change: 0 additions & 1 deletion fizz/server/test/TicketPolicyTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>

#include <fizz/crypto/test/Mocks.h>
#include <fizz/crypto/test/TestUtil.h>
#include <fizz/protocol/clock/test/Mocks.h>
#include <fizz/server/TicketPolicy.h>
Expand Down
1 change: 0 additions & 1 deletion fizz/test/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ cpp_binary(
"//fizz/crypto:utils",
"//fizz/server:async_fizz_server",
"//fizz/server:ticket_types",
"//folly:string",
"//folly/io/async:async_ssl_socket",
"//folly/io/async:ssl_context",
"//folly/portability:gflags",
Expand Down
1 change: 0 additions & 1 deletion fizz/test/BogoShim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <fizz/crypto/Utils.h>
#include <fizz/server/AsyncFizzServer.h>
#include <fizz/server/TicketTypes.h>
#include <folly/String.h>
#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/SSLContext.h>
#include <folly/portability/GFlags.h>
Expand Down
2 changes: 0 additions & 2 deletions fizz/tool/FizzClientLoadGenCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include <fizz/client/PskSerializationUtils.h>
#include <fizz/experimental/protocol/BatchSignatureFactory.h>
#include <fizz/tool/FizzCommandCommon.h>
#include <fizz/util/Parse.h>
#include <folly/FileUtil.h>
#include <folly/Format.h>
#include <folly/executors/IOThreadPoolExecutor.h>
#include <folly/futures/Future.h>
Expand Down
3 changes: 0 additions & 3 deletions fizz/tool/FizzServerBenchmarkCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
#include <fizz/server/SlidingBloomReplayCache.h>
#include <fizz/server/TicketTypes.h>
#include <fizz/tool/FizzCommandCommon.h>
#include <fizz/util/KeyLogWriter.h>
#include <fizz/util/Parse.h>

#include <folly/Format.h>
#include <folly/executors/IOThreadPoolExecutor.h>
#include <folly/futures/Future.h>
#include <folly/io/async/AsyncSSLSocket.h>
Expand Down

0 comments on commit 5050d1d

Please sign in to comment.