This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy][doc] Deprecate the AnalyzeTemporaryDtors option
ClosedPublic

Authored by carlosgalvezp on Jan 12 2023, 2:12 AM.

Details

Summary

It's not used anywhere, and we should not keep it
for eternity. Document it as deprecated and announce
its removal 2 releases later, so people have time
to update their .clang-tidy files.

Diff Detail

Event Timeline

carlosgalvezp created this revision.Jan 12 2023, 2:12 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 12 2023, 2:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 12 2023, 2:12 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
carlosgalvezp added a comment.EditedJan 12 2023, 3:03 AM

If we could get this in before 24th of January (release cut) it would be great, then we don't need to wait for clang-tidy 19 :)

Eugene.Zelenko added inline comments.Jan 12 2023, 7:02 AM
clang-tools-extra/docs/ReleaseNotes.rst
106

Clang-tidy

Update clang-tidy formatting.

carlosgalvezp marked an inline comment as done.Jan 12 2023, 7:56 AM
carlosgalvezp added inline comments.
clang-tools-extra/docs/ReleaseNotes.rst
106

I find current style in the documentation inconsistent, using either :program:clang-tidy or just plain clang-tidy as I have written it here, but never Clang-tidy with capital C and backticks. I'll go for the former.

Eugene.Zelenko added inline comments.Jan 12 2023, 8:07 AM
clang-tools-extra/docs/ReleaseNotes.rst
107

But isn't such naming artifact of packaging? May be ":program:clang-tidy" version 18?

carlosgalvezp marked an inline comment as done.

Fix name

carlosgalvezp marked an inline comment as done.Jan 12 2023, 8:18 AM
Eugene.Zelenko accepted this revision.Jan 12 2023, 8:27 AM
This revision is now accepted and ready to land.Jan 12 2023, 8:27 AM

Thanks for reviewing! I can also add that the actual code using the option was removed around 5 years ago, so it's about time :) @njames93 Do you have any concerns with this?

njames93 accepted this revision.Jan 12 2023, 11:22 AM

Thanks for reviewing! I can also add that the actual code using the option was removed around 5 years ago, so it's about time :) @njames93 Do you have any concerns with this?

Fine by me.

lebedev.ri resigned from this revision.Jan 12 2023, 5:43 PM