|
| static llvm::cl::extrahelp | CommonHelp (CommonOptionsParser::HelpMessage) |
| static llvm::cl::OptionCategory | ClangDocCategory ("clang-doc options") |
| static llvm::cl::opt< std::string > | ProjectName ("project-name", llvm::cl::desc("Name of project."), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< bool > | IgnoreMappingFailures ("ignore-map-errors", llvm::cl::desc("Continue if files are not mapped correctly."), llvm::cl::init(true), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< std::string > | OutDirectory ("output", llvm::cl::desc("Directory for outputting generated files."), llvm::cl::init("docs"), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< std::string > | BaseDirectory ("base", llvm::cl::desc(R"(Base Directory for generated documentation.
URLs will be rooted at this directory for HTML links.)"), llvm::cl::init(""), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< bool > | PublicOnly ("public", llvm::cl::desc("Document only public declarations."), llvm::cl::init(false), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< bool > | DoxygenOnly ("doxygen", llvm::cl::desc("Use only doxygen-style comments to generate docs."), llvm::cl::init(false), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::list< std::string > | UserStylesheets ("stylesheets", llvm::cl::CommaSeparated, llvm::cl::desc("CSS stylesheets to extend the default styles."), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< std::string > | UserAssetPath ("asset", llvm::cl::desc("User supplied asset path to " "override the default css and js files for html output"), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< std::string > | SourceRoot ("source-root", llvm::cl::desc(R"(
Directory where processed files are stored.
Links to definition locations will only be
generated if the file is in this dir.)"), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< std::string > | RepositoryUrl ("repository", llvm::cl::desc(R"(
URL of repository that hosts code.
Used for links to definition locations.)"), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< std::string > | RepositoryCodeLinePrefix ("repository-line-prefix", llvm::cl::desc("Prefix of line code for repository."), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< bool > | FTimeTrace ("ftime-trace", llvm::cl::desc(R"(
Turn on time profiler. Generates clang-doc-tracing.json)"), llvm::cl::init(false), llvm::cl::cat(ClangDocCategory)) |
| static llvm::cl::opt< OutputFormatTy > | FormatEnum ("format", llvm::cl::desc("Format for outputted docs."), llvm::cl::values(clEnumValN(OutputFormatTy::yaml, "yaml", "Documentation in YAML format."), clEnumValN(OutputFormatTy::md, "md", "Documentation in MD format."), clEnumValN(OutputFormatTy::html, "html", "Documentation in HTML format."), clEnumValN(OutputFormatTy::json, "json", "Documentation in JSON format"), clEnumValN(OutputFormatTy::md_mustache, "md_mustache", "Documentation in MD format.")), llvm::cl::init(OutputFormatTy::yaml), llvm::cl::cat(ClangDocCategory)) |
| static llvm::StringRef | getFormatString () |
| static std::string | getExecutablePath (const char *Argv0, void *MainAddr) |
| static llvm::Error | getAssetFiles (clang::doc::ClangDocContext &CDCtx) |
| static llvm::Error | getHtmlFiles (const char *Argv0, clang::doc::ClangDocContext &CDCtx) |
| static llvm::Error | getMdFiles (const char *Argv0, clang::doc::ClangDocContext &CDCtx) |
| static void | sortUsrToInfo (llvm::StringMap< doc::OwnedPtr< doc::Info > > &USRToInfo) |
| | Make the output of clang-doc deterministic by sorting the children of namespaces and records.
|
| static llvm::Error | handleMappingFailures (DiagnosticsEngine &Diags, llvm::Error Err) |
| static llvm::Error | createDirectories (llvm::StringRef OutDirectory) |
| int | main (int argc, const char **argv) |