Skip to content

Remove IncludeCategories from .clang-format#412

Merged
rapids-bot[bot] merged 5 commits intorapidsai:branch-22.02from
codereport:cf-header
Dec 16, 2021
Merged

Remove IncludeCategories from .clang-format#412
rapids-bot[bot] merged 5 commits intorapidsai:branch-22.02from
codereport:cf-header

Conversation

@codereport
Copy link
Contributor

It was recently noticed that the IncludeCategories:

IncludeCategories:
  - Regex:           '^<ext/.*\.h>'
    Priority:        2
  - Regex:           '^<.*\.h>'
    Priority:        1
  - Regex:           '^<.*'
    Priority:        2
  - Regex:           '.*'
    Priority:        3

In the .clang-format are not really necessary as ext has no meaning in RAPIDS. This PR removes these.

Note these changes are being made in all repos:

@codereport codereport requested review from a team as code owners December 9, 2021 17:55
@github-actions github-actions bot added the cpp label Dec 9, 2021
@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Dec 15, 2021
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codereport
Copy link
Contributor Author

Thanks @BradReesWork @cjnolet! I don't have commit access so either of you can feel free to merge : )

@cjnolet
Copy link
Member

cjnolet commented Dec 16, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit d2e5b7a into rapidsai:branch-22.02 Dec 16, 2021
loulankxh pushed a commit to loulankxh/raft that referenced this pull request Oct 14, 2025
It was recently noticed that the `IncludeCategories`:
```
IncludeCategories:
  - Regex:           '^<ext/.*\.h>'
    Priority:        2
  - Regex:           '^<.*\.h>'
    Priority:        1
  - Regex:           '^<.*'
    Priority:        2
  - Regex:           '.*'
    Priority:        3
```
In the `.clang-format` are not really necessary as `ext` has no meaning in RAPIDS. This PR removes these.

Note these changes are being made in all repos:
* `cudf`: rapidsai/cudf#9876
* `rmm`: rapidsai/rmm#933
* `cuml`: rapidsai/cuml#4438
* `cugraph`: rapidsai/cugraph#1987
* `cuspatial`: rapidsai/cuspatial#470

Authors:
  - Conor Hoekstra (https://github.com/codereport)

Approvers:
  - Brad Rees (https://github.com/BradReesWork)
  - Corey J. Nolet (https://github.com/cjnolet)

URL: rapidsai#412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants