[clang-tidy] Avoid adding unnecessary semicolon in modernize-use-equals-default
authorAlexander Shaposhnikov <ashaposhnikov@google.com>
Sat, 22 Oct 2022 00:42:50 +0000 (00:42 +0000)
committerAlexander Shaposhnikov <ashaposhnikov@google.com>
Sat, 22 Oct 2022 00:42:50 +0000 (00:42 +0000)
commit6c07bda7a75c68aa14a1e5f1ca0eac9ba6220cbb
treeb8d2330afd57ba9baffd0adf1fd2e322f84ac6b8
parentd3f8e0bf8db3c7bff7b484349098b9da343016ac
[clang-tidy] Avoid adding unnecessary semicolon in modernize-use-equals-default

Adjust the automatic fixit to avoid adding superfluous semicolon.

Test plan: ninja check-all

Differential revision: https://reviews.llvm.org/D136399
clang-tools-extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-default.cpp