This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy][NFC] Use C++17 nested namespaces in add_new_check.py and rename_check.py
AbandonedPublic

Authored by carlosgalvezp on Jan 14 2023, 8:52 AM.

Details

Diff Detail

Event Timeline

carlosgalvezp created this revision.Jan 14 2023, 8:52 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: xazax.hun. · View Herald Transcript
carlosgalvezp requested review of this revision.Jan 14 2023, 8:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2023, 8:52 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Update release notes

Eugene.Zelenko accepted this revision.Jan 14 2023, 9:45 AM

But will be good idea if other eyes will look too.

This revision is now accepted and ready to land.Jan 14 2023, 9:45 AM
njames93 accepted this revision.Jan 14 2023, 9:46 AM

LGTM, just a couple points

clang-tools-extra/clang-tidy/rename_check.py
311–314

I'd argue the change to update all checks should go in at the same time.

clang-tools-extra/docs/ReleaseNotes.rst
109–110

Such a trivial change like this probably doesn't need to go in the release notes, @Eugene.Zelenko thoughts?

carlosgalvezp added inline comments.Jan 14 2023, 9:48 AM
clang-tools-extra/clang-tidy/rename_check.py
311–314

Patch for that here, would you like me to merge them?

https://reviews.llvm.org/D141770

Eugene.Zelenko added inline comments.Jan 14 2023, 9:48 AM
clang-tools-extra/clang-tidy/rename_check.py
311

Clang-tidy or just all checks, since script is about Clang-tidy.

Eugene.Zelenko added inline comments.Jan 14 2023, 9:50 AM
clang-tools-extra/docs/ReleaseNotes.rst
109–110

Probably should not, since entire code base was moved to C++17.

carlosgalvezp added inline comments.Jan 14 2023, 9:54 AM
clang-tools-extra/clang-tidy/rename_check.py
311–314

Let's do everything in the same patch, I'll abandon this.