[clang-tools-extra] [clang-doc] [feat] add --repository-line-prefix argument (PR #131280)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 17 10:08:45 PDT 2025
================
@@ -99,6 +99,12 @@ 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(R"(
+Prefix of line code for repository.
+)"),
----------------
ilovepi wrote:
Why use the raw string format? we use that format for documentation strings that take multiple lines (e.g. more than 80 characters). The description here seems short enough to avoid.
https://github.com/llvm/llvm-project/pull/131280
More information about the cfe-commits
mailing list