[clang] 02bcaca - [docs]Fix a typo around '#pragma clang section' (#119791)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 12 19:43:28 PST 2024
Author: Mingming Liu
Date: 2024-12-12T19:43:25-08:00
New Revision: 02bcaca5995de283c85acfcca61a39baac315794
URL: https://github.com/llvm/llvm-project/commit/02bcaca5995de283c85acfcca61a39baac315794
DIFF: https://github.com/llvm/llvm-project/commit/02bcaca5995de283c85acfcca61a39baac315794.diff
LOG: [docs]Fix a typo around '#pragma clang section' (#119791)
Added:
Modified:
clang/docs/LanguageExtensions.rst
Removed:
################################################################################
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index 6a886a49ea0762..54b6f947a6a5a5 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/docs/LanguageExtensions.rst
@@ -5551,7 +5551,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.
More information about the cfe-commits
mailing list