[clang] [docs]Fix a typo around '#pragma clang section' (PR #119791)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 12 16:13:38 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Mingming Liu (mingmingl-llvm)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/119791.diff
1 Files Affected:
- (modified) clang/docs/LanguageExtensions.rst (+1-1)
``````````diff
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index ff8e841ee53a2b..5d3c86e23ee9ce 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/docs/LanguageExtensions.rst
@@ -5535,7 +5535,7 @@ The ``#pragma clang section`` directive obeys the following rules:
* Global variables that are initialized to zero will be placed in the named
bss section, if one is present.
-* The ``#pragma clang section`` directive does not does try to infer section-kind
+* The ``#pragma clang section`` directive does not try to infer section-kind
from the name. For example, naming a section "``.bss.mySec``" does NOT mean
it will be a bss section name.
``````````
</details>
https://github.com/llvm/llvm-project/pull/119791
More information about the cfe-commits
mailing list