[PATCH] D63857: [clang-doc] Structured HTML generator

Diego Astiazarán via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 26 17:32:46 PDT 2019


DiegoAstiazaran created this revision.
DiegoAstiazaran added reviewers: juliehockett, jakehehrlich, lebedev.ri.
DiegoAstiazaran added a project: clang-tools-extra.

Nodes are used to represent each part of the HTML file. There are TagNodes that represent every HTML tag (p, h1, div, ...) and they have children nodes, which can be TagNodes or TextNodes (these nodes only have text).
Proper indentation is now rendered within the file.

Depends on D63180 <https://reviews.llvm.org/D63180>.


https://reviews.llvm.org/D63857

Files:
  clang-tools-extra/clang-doc/HTMLGenerator.cpp
  clang-tools-extra/clang-doc/MDGenerator.cpp
  clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63857.206774.patch
Type: text/x-patch
Size: 21966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190627/9c9829b3/attachment-0001.bin>


More information about the cfe-commits mailing list