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

Closes #36277

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36277 from ctiller:port_platform-include-grpcpp-impl-codegen-clang-format 2670fb8c35
PiperOrigin-RevId: 623176416
pull/36308/head
Craig Tiller 8 months ago committed by Copybara-Service
parent e378d0b229
commit 2bcca152cf
  1. 3
      include/grpcpp/impl/codegen/.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