[clang] [clang][docs] fix rendering of `$`-prefixed options (PR #119249)

via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 9 11:13:14 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Carlo Cabrera (carlocab)

<details>
<summary>Changes</summary>

This was added in #<!-- -->117573 but the options were not being rendered
correctly due to the missing newline after `::`.


---
Full diff: https://github.com/llvm/llvm-project/pull/119249.diff


1 Files Affected:

- (modified) clang/docs/UsersManual.rst (+1) 


``````````diff
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst
index 5b7a293a4ecc27..8af9f5be644a02 100644
--- a/clang/docs/UsersManual.rst
+++ b/clang/docs/UsersManual.rst
@@ -1066,6 +1066,7 @@ is being invoked, and added after all of the command-line specified linker
 inputs. Here is some example of ``$``-prefixed options:
 
 ::
+
     $-Wl,-Bstatic $-lm
     $-Wl,-Bshared
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/119249


More information about the cfe-commits mailing list