[clang] [docs]Fix a typo around '#pragma clang section' (PR #119791)
Mingming Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 12 16:13:01 PST 2024
https://github.com/mingmingl-llvm created https://github.com/llvm/llvm-project/pull/119791
None
>From a996d55a1876e53f42978a6ff32fda86c3b062fe Mon Sep 17 00:00:00 2001
From: mingmingl <mingmingl at google.com>
Date: Thu, 12 Dec 2024 16:11:30 -0800
Subject: [PATCH] [docs]Fix a typo around '#pragma clang section'
---
clang/docs/LanguageExtensions.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.
More information about the cfe-commits
mailing list