[llvm-branch-commits] [clang-tools-extra] [clang-doc][nfc] Reformat and revise comment block (PR #190428)
Paul Kirth via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 10 17:17:12 PDT 2026
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/190428
>From eac7e7999d3526367a7ba4987d66ba395d4e1fab Mon Sep 17 00:00:00 2001
From: Paul Kirth <paulkirth at google.com>
Date: Fri, 3 Apr 2026 22:56:47 +0000
Subject: [PATCH] [clang-doc][nfc] Reformat and revise comment block
---
clang-tools-extra/clang-doc/Representation.h | 21 +++++++++-----------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/clang-tools-extra/clang-doc/Representation.h b/clang-tools-extra/clang-doc/Representation.h
index dec8165af6010..44a7ee5bb4283 100644
--- a/clang-tools-extra/clang-doc/Representation.h
+++ b/clang-tools-extra/clang-doc/Representation.h
@@ -200,18 +200,15 @@ struct CommentInfo : public llvm::ilist_node<CommentInfo> {
// the vector.
bool operator<(const CommentInfo &Other) const;
- llvm::ArrayRef<CommentInfo>
- Children; // List of child comments for this CommentInfo.
- StringRef Direction; // Parameter direction (for (T)ParamCommand).
- StringRef Name; // Name of the comment (for Verbatim and HTML).
- StringRef ParamName; // Parameter name (for (T)ParamCommand).
- StringRef CloseName; // Closing tag name (for VerbatimBlock).
- StringRef Text; // Text of the comment.
- llvm::ArrayRef<StringRef> AttrKeys; // List of attribute keys (for HTML).
- llvm::ArrayRef<StringRef>
- AttrValues; // List of attribute values for each key (for HTML).
- llvm::ArrayRef<StringRef>
- Args; // List of arguments to commands (for InlineCommand).
+ ArrayRef<CommentInfo> Children; // List of child comments.
+ StringRef Direction; // Parameter direction (for (T)ParamCommand).
+ StringRef Name; // Name of the comment (for Verbatim and HTML).
+ StringRef ParamName; // Parameter name (for (T)ParamCommand).
+ StringRef CloseName; // Closing tag name (for VerbatimBlock).
+ StringRef Text; // Text of the comment.
+ ArrayRef<StringRef> AttrKeys; // List of attribute keys (for HTML).
+ ArrayRef<StringRef> AttrValues; // List of attribute values (for HTML).
+ ArrayRef<StringRef> Args; // List of command arguments (for InlineCommand).
CommentKind Kind = CommentKind::
CK_Unknown; // Kind of comment (FullComment, ParagraphComment,
// TextComment, InlineCommandComment, HTMLStartTagComment,
More information about the llvm-branch-commits
mailing list