[clang-tools-extra] 54d45dd - [clang-tidy][docs] Fix link to libc style guide

Alex Brachet via cfe-commits cfe-commits at lists.llvm.org
Tue May 30 11:22:33 PDT 2023


Author: Alex Brachet
Date: 2023-05-30T18:22:26Z
New Revision: 54d45ddc89f1e2d3250b4d5093bea28e6e475cb7

URL: https://github.com/llvm/llvm-project/commit/54d45ddc89f1e2d3250b4d5093bea28e6e475cb7
DIFF: https://github.com/llvm/llvm-project/commit/54d45ddc89f1e2d3250b4d5093bea28e6e475cb7.diff

LOG: [clang-tidy][docs] Fix link to libc style guide

Differential Revision: https://reviews.llvm.org/D151502

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h
    clang-tools-extra/docs/clang-tidy/checks/llvmlibc/inline-function-decl.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h b/clang-tools-extra/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h
index 85d87a59e3733..662a592abd9be 100644
--- a/clang-tools-extra/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h
+++ b/clang-tools-extra/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h
@@ -18,7 +18,7 @@ namespace clang::tidy::llvm_libc {
 /// are tagged with the LIBC_INLINE macro.
 ///
 /// For more information about the LIBC_INLINE macro, see
-/// https://libc.llvm.org/code_style.html.
+/// https://libc.llvm.org/dev/code_style.html.
 ///
 /// For the user-facing documentation see:
 /// http://clang.llvm.org/extra/clang-tidy/checks/llvmlibc/inline-function-decl-check.html

diff  --git a/clang-tools-extra/docs/clang-tidy/checks/llvmlibc/inline-function-decl.rst b/clang-tools-extra/docs/clang-tidy/checks/llvmlibc/inline-function-decl.rst
index da60a1fcdb112..101217b64c828 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/llvmlibc/inline-function-decl.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/llvmlibc/inline-function-decl.rst
@@ -5,4 +5,4 @@ llvmlibc-inline-function-decl
 
 Checks that all implicit and explicit inline functions in header files are
 tagged with the ``LIBC_INLINE`` macro. See the `libc style guide
-<https://libc.llvm.org/code_style.html>`_ for more information about this macro.
+<https://libc.llvm.org/dev/code_style.html>`_ for more information about this macro.


        


More information about the cfe-commits mailing list