clang-tools 20.0.0git
Public Member Functions | Static Public Attributes | List of all members
clang::doc::MDGenerator Class Reference

Generator for Markdown documentation. More...

Inheritance diagram for clang::doc::MDGenerator:
Inheritance graph
[legend]

Public Member Functions

llvm::Error generateDocs (StringRef RootDir, llvm::StringMap< std::unique_ptr< doc::Info > > Infos, const ClangDocContext &CDCtx) override
 
llvm::Error createResources (ClangDocContext &CDCtx) override
 
llvm::Error generateDocForInfo (Info *I, llvm::raw_ostream &OS, const ClangDocContext &CDCtx) override
 
- Public Member Functions inherited from clang::doc::Generator
virtual ~Generator ()=default
 
virtual llvm::Error generateDocs (StringRef RootDir, llvm::StringMap< std::unique_ptr< doc::Info > > Infos, const ClangDocContext &CDCtx)=0
 
virtual llvm::Error createResources (ClangDocContext &CDCtx)
 
virtual llvm::Error generateDocForInfo (Info *I, llvm::raw_ostream &OS, const ClangDocContext &CDCtx)=0
 

Static Public Attributes

static const char * Format = "md"
 

Additional Inherited Members

- Static Public Member Functions inherited from clang::doc::Generator
static void addInfoToIndex (Index &Idx, const doc::Info *Info)
 

Detailed Description

Generator for Markdown documentation.

Definition at line 365 of file MDGenerator.cpp.

Member Function Documentation

◆ createResources()

llvm::Error clang::doc::MDGenerator::createResources ( ClangDocContext CDCtx)
overridevirtual

Reimplemented from clang::doc::Generator.

Definition at line 451 of file MDGenerator.cpp.

References clang::doc::genIndex(), and clang::doc::serializeIndex().

◆ generateDocForInfo()

llvm::Error clang::doc::MDGenerator::generateDocForInfo ( Info I,
llvm::raw_ostream &  OS,
const ClangDocContext CDCtx 
)
overridevirtual

◆ generateDocs()

llvm::Error clang::doc::MDGenerator::generateDocs ( StringRef  RootDir,
llvm::StringMap< std::unique_ptr< doc::Info > >  Infos,
const ClangDocContext CDCtx 
)
overridevirtual

Member Data Documentation

◆ Format

const char * clang::doc::MDGenerator::Format = "md"
static

Definition at line 367 of file MDGenerator.cpp.


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