[clang-format] Remove requirement that port_platform.h is at the top (#36280)

Closes #36280

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36280 from ctiller:port_platform-include-grpcpp-support-clang-format 75ac69b86a
PiperOrigin-RevId: 623363731
pull/36270/head
Craig Tiller 11 months ago committed by Copybara-Service
parent dfa801726b
commit 5f2dcf8d42
  1. 3
      include/grpcpp/support/.clang-format

@ -5,9 +5,6 @@ DerivePointerAlignment: false
PointerAlignment: Left
IncludeBlocks: Regroup
IncludeCategories:
# port_platform.h is before almost everything
- Regex: '^<grpc/(support|impl/codegen)/port_platform.h>'
Priority: -100
# ruby.h is even more first if it's included
- Regex: '^<ruby/ruby.h>'
Priority: -200

Loading…
Cancel
Save