This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Add more examples and fix a bug in the py generation script
ClosedPublic

Authored by sylvestre.ledru on Mar 11 2017, 3:18 AM.

Diff Detail

Event Timeline

sylvestre.ledru retitled this revision from Add more examples and fix a bug in the py generation script to [clang-format] Add more examples and fix a bug in the py generation script.Mar 11 2017, 3:18 AM
docs/tools/dump_format_style.py
67

This is needed to fix a bug in the generation of BraceWrappingFlags
The generation was failing because of a missing empty line with:

docs/ClangFormatStyleOptions.rst:480: (WARNING/2) Explicit markup ends without a blank line; unexpected unindent.

Let me know if you prefer to see that in a separate patch

djasper accepted this revision.Mar 13 2017, 2:57 AM

Looks good.

docs/tools/dump_format_style.py
67

The same patch is fine. Thanks for fixing this!

This revision is now accepted and ready to land.Mar 13 2017, 2:57 AM