This is an archive of the discontinued LLVM Phabricator instance.

[docs] Document git-clang-format
ClosedPublic

Authored by thakis on Jul 12 2022, 7:56 AM.

Details

Summary

clang-format's documentation documented the more general clang-format-diff.py
script. Add documentation for the less general but arguably easier-to-use
git integration as well.

Diff Detail

Event Timeline

thakis created this revision.Jul 12 2022, 7:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2022, 7:56 AM
thakis requested review of this revision.Jul 12 2022, 7:56 AM

(does anyone know why git-clang-format isn't implemented in terms of clang-format-diff.py? I suppose it's easier to use if it's standalone?)

curdeius accepted this revision.Jul 13 2022, 10:29 AM

(does anyone know why git-clang-format isn't implemented in terms of clang-format-diff.py? I suppose it's easier to use if it's standalone?)

I don't know unfortunately.

This revision is now accepted and ready to land.Jul 13 2022, 10:29 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2022, 6:06 PM