clang-tools 20.0.0git
|
Generator for HTML 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 = "html" |
Additional Inherited Members | |
Static Public Member Functions inherited from clang::doc::Generator | |
static void | addInfoToIndex (Index &Idx, const doc::Info *Info) |
Generator for HTML documentation.
Definition at line 854 of file HTMLGenerator.cpp.
|
overridevirtual |
Reimplemented from clang::doc::Generator.
Definition at line 1085 of file HTMLGenerator.cpp.
References clang::doc::copyFile(), clang::doc::genIndex(), clang::doc::ClangDocContext::JsScripts, clang::doc::ClangDocContext::OutDirectory, clang::doc::serializeIndex(), and clang::doc::ClangDocContext::UserStylesheets.
|
overridevirtual |
Implements clang::doc::Generator.
Definition at line 921 of file HTMLGenerator.cpp.
References clang::doc::genHTML(), clang::doc::genInfoFile(), clang::doc::Info::getRelativeFilePath(), 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 869 of file HTMLGenerator.cpp.
References generateDocForInfo(), clang::doc::Info::getFileBaseName(), clang::doc::Info::getRelativeFilePath(), and Path.
|
static |
Definition at line 856 of file HTMLGenerator.cpp.