[clang] 6828194 - [Sanitizer][Docs] Reformat CMake invocation in docs
Aiden Grossman via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 9 15:45:52 PDT 2023
Author: Aiden Grossman
Date: 2023-10-09T22:45:34Z
New Revision: 68281947f7df4c7325b862857fbf3ed06d711f74
URL: https://github.com/llvm/llvm-project/commit/68281947f7df4c7325b862857fbf3ed06d711f74
DIFF: https://github.com/llvm/llvm-project/commit/68281947f7df4c7325b862857fbf3ed06d711f74.diff
LOG: [Sanitizer][Docs] Reformat CMake invocation in docs
This was based on post-commit reviewer feedback in #68636.
Added:
Modified:
clang/docs/AddressSanitizer.rst
Removed:
################################################################################
diff --git a/clang/docs/AddressSanitizer.rst b/clang/docs/AddressSanitizer.rst
index 94ff3404cba6024..e1997153f203702 100644
--- a/clang/docs/AddressSanitizer.rst
+++ b/clang/docs/AddressSanitizer.rst
@@ -32,10 +32,7 @@ for the use/testing of AddressSanitizer:
.. code-block:: console
- cmake -DCMAKE_BUILD_TYPE=Release \
- -DLLVM_ENABLE_PROJECTS="clang" \
- -DLLVM_ENABLE_RUNTIMES="compiler-rt" \
- ../llvm
+ $ cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="compiler-rt" <path to source>/llvm
Usage
=====
More information about the cfe-commits
mailing list