Skip to content

Conversation

Mytherin
Copy link
Collaborator

@Mytherin Mytherin commented Mar 29, 2024

This PR enables the cppcoreguidelines-avoid-non-const-global-variables clang-tidy rule, which forbids non-constant globals. There were a number of instances in the code that were not necessary - which this PR also cleans up.

@Mytherin Mytherin changed the title Constglobals clang-tidy: enable cppcoreguidelines-pro-type-const-cast Mar 29, 2024
@github-actions github-actions bot marked this pull request as draft March 29, 2024 19:58
@Mytherin Mytherin marked this pull request as ready for review March 29, 2024 19:58
@Mytherin Mytherin changed the title clang-tidy: enable cppcoreguidelines-pro-type-const-cast clang-tidy: enable cppcoreguidelines-avoid-non-const-global-variables Mar 29, 2024
@Mytherin Mytherin merged commit 903f14e into duckdb:main Mar 30, 2024
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Mar 30, 2024
Merge pull request duckdb/duckdb#11424 from Mytherin/constglobals
@Mytherin Mytherin deleted the constglobals branch June 7, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant