This is an archive of the discontinued LLVM Phabricator instance.

[Clang-tidy] Update release notes with list of checks added since 3.8
ClosedPublic

Authored by Eugene.Zelenko on Mar 29 2016, 3:46 PM.

Details

Summary

Descriptions of checks were extracted from documentations. If style is wrong, will be good idea if native English speaker will fix both release notes and documentation.

I also mentioned fix of crash on compile database with relative paths.

Diff Detail

Repository
rL LLVM

Event Timeline

Eugene.Zelenko retitled this revision from to [Clang-tidy] Update release notes with list of checks added since 3.8.
Eugene.Zelenko updated this object.
Eugene.Zelenko set the repository for this revision to rL LLVM.
Eugene.Zelenko added a subscriber: cfe-commits.
alexfh accepted this revision.Mar 30 2016, 5:22 AM
alexfh edited edge metadata.

Looks good with a nit. Thank you!

docs/ReleaseNotes.rst
129

nit: Double backquotes should be used for inline code snippets.

This revision is now accepted and ready to land.Mar 30 2016, 5:22 AM

A few more nits.

docs/ReleaseNotes.rst
68

I'd remove "This check" at the start of all check descriptions.

85

nit: Double backquotes should be used for inline code snippets.

112

nit: Double backquotes should be used for inline code snippets.

117

nit: "with a loop variable"

139

nit: Should be :program:<backquote>clang-tidy<backquote>

docs/ReleaseNotes.rst
143

The formatting here has been changed on trunk. Please rebase with a full file context so we can see the whole file in phabricator.

Which style I should use? Suggested by Richard or just provide links to documentation as in updated version?

docs/ReleaseNotes.rst
143

Alex changed:

Improvements to ``modularize``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

to

Improvements to modularize
--------------------------

(See raw version on github mirror)

and your diff is against the old version, so you will want to rebase the changeset and post a full context diff when you update this review.

Sections headers are not problem :-)

See newly added "Clang-tidy changes from 3.7 to 3.8" section. It contains only names of checks with link to documentation page without brief description.

Sections headers are not problem :-)

See newly added "Clang-tidy changes from 3.7 to 3.8" section. It contains only names of checks with link to documentation page without brief description.

The summaries + links to the check docs would probably be the most useful format (btw, it makes sense to add the links to the new entries as well). I was just too lazy to manually write/copy-paste-edit the summaries for the ~40 checks in the 3.7->3.8 section.

Which links should I use, since it should point to release specific location, but 3.9 is not branched yet?

Eugene.Zelenko edited edge metadata.

Addressed Alex and Richard comments except links.

Also fixed spotted issues in checks documentation. Looks like better documentation proofreading during code review is needed.

etienneb edited reviewers, added: etienneb; removed: etienne.bergeron.Mar 31 2016, 11:38 AM
etienneb accepted this revision.Mar 31 2016, 11:43 AM
etienneb edited edge metadata.

thanks for taking care of this.

docs/ReleaseNotes.rst
132

I just landed this one: http://reviews.llvm.org/D18457

I'll appreciate if you can add the entry here.

Thanks.

  • New misc-suspicious-missing-comma check

    Warns about 'probably' missing comma in string literals initializer list.
137

Crash when running with the `-fdelayed-template-parsing` flag.

see: http://reviews.llvm.org/D18238

Eugene.Zelenko edited edge metadata.

Updated per Etienne comments.

Links are still need to be added, but I'm not clear about address.

Updated per Etienne comments.

Links are still need to be added, but I'm not clear about address.

I'd point the links to the live version (e.g. http://clang.llvm.org/extra/clang-tidy/checks/readability-redundant-string-init.html) and then update them once the next release is branched.

alexfh added inline comments.Mar 31 2016, 3:28 PM
docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst
4

Did you mean 'in a range-based loop with a loop variable of const ref type'?

Added links. Fix typo spotted by Alexander.

alexfh added inline comments.Mar 31 2016, 3:50 PM
docs/ReleaseNotes.rst
67

Should these lines be indented to New ... (i.e. with just two spaces)?

One more nit.

docs/clang-tidy/checks/performance-implicit-cast-in-loop.rst
4

nit: 'range-based loops' or 'a range-based loop'.

I align them as in 3.8 changes, to first `. If you think that alignment should be other way, I'll change it.

Updated to trunk. Changed per Alexander comments.

I align them as in 3.8 changes, to first `. If you think that alignment should be other way, I'll change it.

This observation doesn't capture the intent correctly. They are aligned with the first column after the "- ", which in some cases happens to contain the first backquote.

I fixed indentation.

Should I commit changes?

Good to submit now. Thank you for working on this!

This revision was automatically updated to reflect the committed changes.