clang-tools 23.0.0git
clang::doc::TableCommentWriter Class Reference

Writer for writing comments to a table cell in MD. More...

Public Member Functions

 TableCommentWriter (llvm::raw_ostream &OS)
void write (const DocList< CommentInfo > &Comments)

Detailed Description

Writer for writing comments to a table cell in MD.

The writer traverses the comments recursively and outputs the comments into a stream. The formatter inserts single/double line breaks to retain the comment structure.

Usage : Initialize an object with a llvm::raw_ostream to output into. Call the write(C) function with an array of Comments 'C'.

Definition at line 80 of file MDGenerator.cpp.

Constructor & Destructor Documentation

◆ TableCommentWriter()

clang::doc::TableCommentWriter::TableCommentWriter ( llvm::raw_ostream & OS)
inlineexplicit

Definition at line 82 of file MDGenerator.cpp.

Member Function Documentation

◆ write()

void clang::doc::TableCommentWriter::write ( const DocList< CommentInfo > & Comments)
inline

Definition at line 84 of file MDGenerator.cpp.

Referenced by clang::doc::genMarkdown().


The documentation for this class was generated from the following file: