[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
This commit is contained in:
parent
dfa801726b
commit
5f2dcf8d42
|
|
@ -5,9 +5,6 @@ DerivePointerAlignment: false
|
||||||
PointerAlignment: Left
|
PointerAlignment: Left
|
||||||
IncludeBlocks: Regroup
|
IncludeBlocks: Regroup
|
||||||
IncludeCategories:
|
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
|
# ruby.h is even more first if it's included
|
||||||
- Regex: '^<ruby/ruby.h>'
|
- Regex: '^<ruby/ruby.h>'
|
||||||
Priority: -200
|
Priority: -200
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue