[clang] Fix typo in AttrDocs.td (__single_inhertiance => __single_inheritance) (PR #78838)

Ryan Landay via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 20 02:14:50 PST 2024


https://github.com/rlanday created https://github.com/llvm/llvm-project/pull/78838

None

>From bde3b1bba398f60cf4953ab33d1d832266d696c7 Mon Sep 17 00:00:00 2001
From: Ryan Landay <rlanday at gmail.com>
Date: Sat, 20 Jan 2024 18:10:19 +0800
Subject: [PATCH] Fix typo in AttrDocs.td (__single_inhertiance =>
 __single_inheritance)

---
 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 9e8190614fbe8ab..7e633f8e2635a9a 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -3621,7 +3621,7 @@ Attribute ``trivial_abi`` has no effect in the following cases:
 
 def MSInheritanceDocs : Documentation {
   let Category = DocCatDecl;
-  let Heading = "__single_inhertiance, __multiple_inheritance, __virtual_inheritance";
+  let Heading = "__single_inheritance, __multiple_inheritance, __virtual_inheritance";
   let Content = [{
 This collection of keywords is enabled under ``-fms-extensions`` and controls
 the pointer-to-member representation used on ``*-*-win32`` targets.



More information about the cfe-commits mailing list