[clang] clang-format: update of the doc wrt the Mozilla coding style (PR #140371)
via cfe-commits
cfe-commits at lists.llvm.org
Sat May 17 04:14:23 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Sylvestre Ledru (sylvestre)
<details>
<summary>Changes</summary>
+ ride along about an old project
---
Full diff: https://github.com/llvm/llvm-project/pull/140371.diff
2 Files Affected:
- (modified) clang/docs/ClangFormatStyleOptions.rst (+2-3)
- (modified) clang/www/related.html (+3-3)
``````````diff
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index a4c381bf583b6..6c3a64ebef708 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -163,9 +163,6 @@ the configuration (without a prefix: ``Auto``).
* ``Chromium``
A style complying with `Chromium's style guide
<https://chromium.googlesource.com/chromium/src/+/refs/heads/main/styleguide/styleguide.md>`_
- * ``Mozilla``
- A style complying with `Mozilla's style guide
- <https://firefox-source-docs.mozilla.org/code-quality/coding-style/index.html>`_
* ``WebKit``
A style complying with `WebKit's style guide
<https://www.webkit.org/coding/coding-style.html>`_
@@ -175,6 +172,8 @@ the configuration (without a prefix: ``Auto``).
* ``GNU``
A style complying with the `GNU coding standards
<https://www.gnu.org/prep/standards/standards.html>`_
+ * ``Mozilla``
+ The Mozilla coding style is deprecated upstream and retained for legacy support.
* ``InheritParentConfig``
Not a real style, but allows to use the ``.clang-format`` file from the
parent directory (or its parent if there is none). If there is no parent
diff --git a/clang/www/related.html b/clang/www/related.html
index d45f533677654..4e796feb51ab6 100755
--- a/clang/www/related.html
+++ b/clang/www/related.html
@@ -82,14 +82,14 @@ <h1>Clang Related Projects</h1>
</p>
</dd>
- <dt>DXR</dt>
+ <dt>searchfox</dt>
<dd>
<p>
<b>Site:</b>
- <a href="https://github.com/mozilla/dxr#dxr">https://github.com/mozilla/dxr</a>
+ <a href="https://github.com/mozsearch/mozsearch">https://github.com/mozsearch/mozsearch</a>
</p>
<p>
- DXR is a code search and navigation tool aimed at making sense of large projects like Firefox. It supports full-text and regex searches as well as structural queries like "Find all the callers of this function."
+ Searchfox is Mozilla's successor to DXR'a fast code search and navigation tool designed to help you explore and understand large codebases like Firefox. It offers full-text and regex searches, as well as structural queries such as "Find all the callers of this function."
</p>
</dd>
``````````
</details>
https://github.com/llvm/llvm-project/pull/140371
More information about the cfe-commits
mailing list