From 83a17ff4684dc1fb3493a151ac0b655b1c55e766 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 9 Apr 2024 08:42:03 -0700 Subject: [PATCH] [clang-format] Remove requirement that port_platform.h is at the top (#36275) Closes #36275 COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36275 from ctiller:port_platform-include-grpcpp-impl-clang-format 89c43491d0ff4385c24c235854ab220d923307b1 PiperOrigin-RevId: 623178498 --- include/grpcpp/impl/.clang-format | 3 --- include/grpcpp/impl/status.h | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/include/grpcpp/impl/.clang-format b/include/grpcpp/impl/.clang-format index 64387e9e515..5f150ef6edb 100644 --- a/include/grpcpp/impl/.clang-format +++ b/include/grpcpp/impl/.clang-format @@ -5,9 +5,6 @@ DerivePointerAlignment: false PointerAlignment: Left IncludeBlocks: Regroup IncludeCategories: - # port_platform.h is before almost everything - - Regex: '^' - Priority: -100 # ruby.h is even more first if it's included - Regex: '^' Priority: -200 diff --git a/include/grpcpp/impl/status.h b/include/grpcpp/impl/status.h index a068f9b0af2..94c0e80a9b6 100644 --- a/include/grpcpp/impl/status.h +++ b/include/grpcpp/impl/status.h @@ -21,9 +21,8 @@ // IWYU pragma: private, include -#include - #include +#include #include #include