[clang] 80e20f9 - [clang-format] [docs] Fix Mozilla coding style URL.

Marek Kurdej via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 3 00:10:50 PST 2022


Author: Marek Kurdej
Date: 2022-01-03T09:10:37+01:00
New Revision: 80e20f9cbdd534b49785f24aa6fd05b70a6bd79d

URL: https://github.com/llvm/llvm-project/commit/80e20f9cbdd534b49785f24aa6fd05b70a6bd79d
DIFF: https://github.com/llvm/llvm-project/commit/80e20f9cbdd534b49785f24aa6fd05b70a6bd79d.diff

LOG: [clang-format] [docs] Fix Mozilla coding style URL.

Fixes https://github.com/llvm/llvm-project/issues/52889.

Added: 
    

Modified: 
    clang/docs/ClangFormatStyleOptions.rst
    clang/include/clang/Format/Format.h

Removed: 
    


################################################################################
diff  --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index 111ebd90d95b5..c2f85d564ba96 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -152,7 +152,7 @@ the configuration (without a prefix: ``Auto``).
     <https://chromium.googlesource.com/chromium/src/+/refs/heads/main/styleguide/styleguide.md>`_
   * ``Mozilla``
     A style complying with `Mozilla's style guide
-    <https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style>`_
+    <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>`_

diff  --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h
index 0f97e80d425e3..f6b4926de846b 100644
--- a/clang/include/clang/Format/Format.h
+++ b/clang/include/clang/Format/Format.h
@@ -3888,7 +3888,7 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language);
 FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language);
 
 /// Returns a format style complying with Mozilla's style guide:
-/// https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style.
+/// https://firefox-source-docs.mozilla.org/code-quality/coding-style/index.html.
 FormatStyle getMozillaStyle();
 
 /// Returns a format style complying with Webkit's style guide:


        


More information about the cfe-commits mailing list