[clang] * AttrDocs: typo. (PR #127183)

via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 14 01:02:37 PST 2025


https://github.com/shynur created https://github.com/llvm/llvm-project/pull/127183

None

>From 004d55b4d13745cad169a82ddb36166b89208e7f Mon Sep 17 00:00:00 2001
From: Shynur <shynur at outlook.com>
Date: Fri, 14 Feb 2025 17:02:07 +0800
Subject: [PATCH] * AttrDocs: typo.

---
 clang/include/clang/Basic/AttrDocs.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 0ad4c958d0983..8ab20774de034 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -8482,7 +8482,7 @@ that is a pointer to the type with the attribute.
   }
 
 The above example will result in a call to ``bar`` being passed the address of
-`y`` when ``y`` goes out of scope, then a call to ``foo`` being passed the
+``y`` when ``y`` goes out of scope, then a call to ``foo`` being passed the
 address of ``x`` when ``x`` goes out of scope. If two or more variables share
 the same scope, their ``cleanup`` callbacks are invoked in the reverse order
 the variables were declared in. It is not possible to check the return value



More information about the cfe-commits mailing list