Skip to content

chore: enable modernize-use-equals-default and modernize-use-equals-delete - #734

Open
egolearner wants to merge 2 commits into
alibaba:mainfrom
egolearner:chore/clang-tidy-modernize-equals
Open

chore: enable modernize-use-equals-default and modernize-use-equals-delete#734
egolearner wants to merge 2 commits into
alibaba:mainfrom
egolearner:chore/clang-tidy-modernize-equals

Conversation

@egolearner

Copy link
Copy Markdown
Collaborator

Summary

  • Enable modernize-use-equals-default and modernize-use-equals-delete checks in .clang-tidy.
  • Modernize default and deleted constructors/destructors/operators across src/, tests/, and tools/.
  • Move deleted member functions to public per C++ Core Guidelines and Clang-Tidy recommendations.

Verification

  • clang-tidy run across all compilation units with 0 warnings/errors.
  • clang-format -n --Werror passed with 0 diffs.
  • All static libraries (libzvec.a, libzvec_ailego.a, libzvec_core.a, libzvec_index.a, libzvec_sqlengine.a, libzvec_turbo.a) and binaries compiled successfully.

…elete

- Enable modernize-use-equals-default and modernize-use-equals-delete checks in .clang-tidy
- Modernize default and deleted constructors/destructors/operators across ailego, core, db, include, tests, and tools
- Move deleted member functions to public per C++ Core Guidelines
@egolearner
egolearner force-pushed the chore/clang-tidy-modernize-equals branch from 43de859 to 95c4109 Compare September 9, 2026 02:55
@egolearner
egolearner requested a review from Cuiyus September 9, 2026 02:56
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