juliehockett added inline comments.

================
Comment at: clang-tools-extra/clang-doc/HTMLGenerator.cpp:59
+      Items +=
+          applyHTMLTemplate(HTMLTemplates::BlockItem, M.str().str().c_str());
+    }
----------------
Put `FIXME: Transition Members from llvm::SmallString to std::string` and such 
on this (and others)


================
Comment at: clang-tools-extra/clang-doc/HTMLTemplates.cpp:163-166
+// - Open command (string), use Name attribute of Info
+// - Content of comment (string), use concatenated return value of genHTML() 
for
+// each child of Info
+// - Close command (string), use CloseName attribute of Info
----------------
For verbatim, the open/close commands are simply specifiers for where the 
section starts and stops, and so don't need to be rendered.


================
Comment at: clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp:307-308
+<title></title>
+<div>
+<div>
+<h3>f</h3>
----------------
Emitting an extra div here?


================
Comment at: clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp:313-314
+<div>
+<div>
+<p></p>
+<p> Brief description.</p>
----------------
Emitting extra div/p here? Add a check in the comment generation bit to ensure 
you're not emitting an empty string for ParagraphComments


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63666/new/

https://reviews.llvm.org/D63666



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to