[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:43 PDT 2025


================
@@ -518,10 +519,12 @@ struct ClangDocContext {
                             // the file is in this dir.
   // URL of repository that hosts code used for links to definition locations.
   std::optional<std::string> RepositoryUrl;
+  // Prefix of line code for repository.
+  std::optional<std::string> RepositoryLinePrefix;
   // Path of CSS stylesheets that will be copied to OutDirectory and used to
   // style all HTML files.
   std::vector<std::string> UserStylesheets;
-  // JavaScript files that will be imported in allHTML file.
+  // JavaScript files that will be imported in all HTML file.
----------------
ilovepi wrote:

```suggestion
  // JavaScript files that will be imported in all HTML files.
```
Technically, a typo fix in unrelated code should be a separate patch.

https://github.com/llvm/llvm-project/pull/131280


More information about the cfe-commits mailing list