Skip to content

Normalize includes#625

Closed
metrapoliten wants to merge 3 commits intoDesbordante:mainfrom
metrapoliten:refactor/normalize-includes
Closed

Normalize includes#625
metrapoliten wants to merge 3 commits intoDesbordante:mainfrom
metrapoliten:refactor/normalize-includes

Conversation

@metrapoliten
Copy link
Collaborator

@metrapoliten metrapoliten commented Nov 26, 2025

  1. Normalize include directives to follow Google style guide and ensure all includes are listed as descendants of the source directory (src/).
  2. Add missing include in stripped_partition.h
  3. Replace quotes with angle brackets for frozen, boost libraries and immintrin.h

@metrapoliten metrapoliten force-pushed the refactor/normalize-includes branch from dfccc22 to a662e42 Compare November 27, 2025 18:14
Normalize include directives to follow Google styleguide and ensure all
includes are listed as descendants of the source dir (src/).
Due to the normalisation of includes and their subsequent formatting, the
order in which they're included has changed, and the build has broken.
Adding this include solves the build problem.
Replace library #include "..." with <...> for consistency with project
style and proper formatting.
@metrapoliten metrapoliten force-pushed the refactor/normalize-includes branch from a662e42 to 417af6b Compare November 28, 2025 17:20
@metrapoliten metrapoliten changed the title refactor: normalize includes Normalize includes Nov 28, 2025
@BUYT-1
Copy link
Collaborator

BUYT-1 commented Nov 29, 2025

You might want to split this into parts with less than 300 files so clang-tidy-review can process the PR

@BUYT-1 BUYT-1 added the python-packaging-risk There is a possibility of breaking the python packaging in PR. Enables additional build checks. label Nov 29, 2025
Copy link
Collaborator

@BUYT-1 BUYT-1 left a comment

Choose a reason for hiding this comment

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

LGTM
Please provide the script you did this with

Copy link
Collaborator

@BUYT-1 BUYT-1 left a comment

Choose a reason for hiding this comment

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

There are still target_include_directory in src/tests/CMakeLists.txt, remove them too.

@chernishev
Copy link
Collaborator

Merged in the following PRs:

  1. Update includes [part 1] #629
  2. Update includes [part 2] #631
  3. Update includes [part 3] #632

Script is in progress: #633

@chernishev chernishev closed this Mar 7, 2026
@chernishev
Copy link
Collaborator

Closed since merged in parts, see above.

@metrapoliten metrapoliten deleted the refactor/normalize-includes branch March 8, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python-packaging-risk There is a possibility of breaking the python packaging in PR. Enables additional build checks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants