clang-tools 20.0.0git
|
Generator for Markdown documentation. More...
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) |
Generator for Markdown documentation.
Definition at line 365 of file MDGenerator.cpp.
|
overridevirtual |
Reimplemented from clang::doc::Generator.
Definition at line 451 of file MDGenerator.cpp.
References clang::doc::genIndex(), and clang::doc::serializeIndex().
|
overridevirtual |
Implements clang::doc::Generator.
Definition at line 426 of file MDGenerator.cpp.
References clang::doc::genMarkdown(), clang::doc::Info::IT, clang::doc::IT_default, clang::doc::IT_enum, clang::doc::IT_function, clang::doc::IT_namespace, clang::doc::IT_record, clang::doc::IT_typedef, and OS.
Referenced by generateDocs().
|
overridevirtual |
Implements clang::doc::Generator.
Definition at line 380 of file MDGenerator.cpp.
References generateDocForInfo(), clang::doc::Info::getFileBaseName(), clang::doc::Info::getRelativeFilePath(), and Path.
|
static |
Definition at line 367 of file MDGenerator.cpp.