[clang] [rtsan][asan] NFC Fix hyperlink to CMake doc (PR #113931)

Chris Apple via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 08:56:21 PDT 2024


https://github.com/cjappl created https://github.com/llvm/llvm-project/pull/113931

The links right now show up like:

<img width="449" alt="Screenshot 2024-10-28 at 8 55 04 AM" src="https://github.com/user-attachments/assets/9e6b3e1f-e78f-46cb-a9f7-8164b6233340">

([rtsan](https://clang.llvm.org/docs/RealtimeSanitizer.html), [asan](https://clang.llvm.org/docs/AddressSanitizer.html))

This change fixes them to be more traditional blue hyperlinks:

<img width="446" alt="Screenshot 2024-10-28 at 8 55 54 AM" src="https://github.com/user-attachments/assets/653450aa-435b-49ad-9e4d-72c6f9bdd8fd">


>From cf3a58b28755054ca6b1069bd2f8b3772bdd369e Mon Sep 17 00:00:00 2001
From: Chris Apple <cja-private at pm.me>
Date: Mon, 28 Oct 2024 08:53:54 -0700
Subject: [PATCH] [rtsan][asan] NFC Fix hyperlink to CMake doc

---
 clang/docs/AddressSanitizer.rst  | 2 +-
 clang/docs/RealtimeSanitizer.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/clang/docs/AddressSanitizer.rst b/clang/docs/AddressSanitizer.rst
index 76fdf559950599..d937cbfdf583c4 100644
--- a/clang/docs/AddressSanitizer.rst
+++ b/clang/docs/AddressSanitizer.rst
@@ -26,7 +26,7 @@ Typical slowdown introduced by AddressSanitizer is **2x**.
 How to build
 ============
 
-Build LLVM/Clang with `CMake <https://llvm.org/docs/CMake.html>` and enable
+Build LLVM/Clang with `CMake <https://llvm.org/docs/CMake.html>`_ and enable
 the ``compiler-rt`` runtime. An example CMake configuration that will allow
 for the use/testing of AddressSanitizer:
 
diff --git a/clang/docs/RealtimeSanitizer.rst b/clang/docs/RealtimeSanitizer.rst
index 103842e055db70..f3f40b8bc3f5d5 100644
--- a/clang/docs/RealtimeSanitizer.rst
+++ b/clang/docs/RealtimeSanitizer.rst
@@ -21,7 +21,7 @@ The runtime slowdown introduced by RealtimeSanitizer is negligible.
 How to build
 ============
 
-Build LLVM/Clang with `CMake <https://llvm.org/docs/CMake.html>` and enable the
+Build LLVM/Clang with `CMake <https://llvm.org/docs/CMake.html>`_ and enable the
 ``compiler-rt`` runtime. An example CMake configuration that will allow for the
 use/testing of RealtimeSanitizer:
 



More information about the cfe-commits mailing list