This is an archive of the discontinued LLVM Phabricator instance.

clang-tidy: add_new_check.py stubs out release notes
AbandonedPublic

Authored by LegalizeAdulthood on Mar 27 2016, 10:16 PM.

Details

Summary

Update add_new_check.py to stub out information in the release notes for the new check.

Diff Detail

Event Timeline

LegalizeAdulthood retitled this revision from to clang-tidy: add_new_check.py stubs out release notes.
LegalizeAdulthood updated this object.
LegalizeAdulthood added a reviewer: alexfh.
LegalizeAdulthood added a subscriber: cfe-commits.
clang-tidy/add_new_check.py
283

Alex changed the formatting, so this will need to be rebased.

alexfh edited edge metadata.Mar 31 2016, 5:25 AM

I like the idea, but we could make this a bit more reliable, see the inline comment.

clang-tidy/add_new_check.py
280

Maybe instead add a special placeholder to the .rst file (something like <describe new clang-tidy checks here>) and insert new text right _before_ it? This will solve two problems: dependency on the formatting of the text and chronological order of the notes.

alexfh requested changes to this revision.Mar 31 2016, 5:26 AM
alexfh edited edge metadata.
This revision now requires changes to proceed.Mar 31 2016, 5:26 AM

With this change, won't you need to update 2 different repos: clang and extra? Is it possible to update both with a single Phabricator patch?

Please use single ` around check name and also add link. See D18582 as example.

With this change, won't you need to update 2 different repos: clang and extra? Is it possible to update both with a single Phabricator patch?

Clang-tidy release notes are now in the clang-tools-extra repository.

With this change, won't you need to update 2 different repos: clang and extra? Is it possible to update both with a single Phabricator patch?

This is updating the release notes in the extra repository. (The release notes are new to this repository; you may not have noticed them being added.)

I like this :)

Review takes too long to make forward progress; abandoning.