[PATCH] D103905: fix typo in internals manual
Jake Vossen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 8 09:00:08 PDT 2021
jakevossen5 created this revision.
jakevossen5 added a reviewer: aaron.ballman.
jakevossen5 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
You can see the typo here: https://clang.llvm.org/docs/InternalsManual.html#include-clang-basic-attr-td
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103905
Files:
clang/docs/InternalsManual.rst
Index: clang/docs/InternalsManual.rst
===================================================================
--- clang/docs/InternalsManual.rst
+++ clang/docs/InternalsManual.rst
@@ -2830,7 +2830,7 @@
later redeclarations of the ``Decl`` it is associated with.
``InheritableParamAttr`` is similar to ``InheritableAttr``, except that the
attribute is written on a parameter instead of a declaration. If the attribute
-applies to statements, it should inherit from ``StmtAttr`. If the attribute is
+applies to statements, it should inherit from ``StmtAttr``. If the attribute is
intended to apply to a type instead of a declaration, such an attribute should
derive from ``TypeAttr``, and will generally not be given an AST representation.
(Note that this document does not cover the creation of type attributes.) An
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103905.350621.patch
Type: text/x-patch
Size: 817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210608/2cd83c40/attachment.bin>
More information about the cfe-commits
mailing list