diff options
| author | Paul Kirth <paulkirth@google.com> | 2026-04-03 22:56:47 +0000 |
|---|---|---|
| committer | Paul Kirth <paulkirth@google.com> | 2026-04-11 00:16:41 +0000 |
| commit | eac7e7999d3526367a7ba4987d66ba395d4e1fab (patch) | |
| tree | 244744cc3b854d398371960fb8d38b7057f7e407 | |
| parent | 3b2c11ee7eec210f598a2d6b0e38ffa1de093b6d (diff) | |
| download | llvm-users/ilovepi/cd-comments.tar.gz llvm-users/ilovepi/cd-comments.tar.bz2 llvm-users/ilovepi/cd-comments.zip | |
[clang-doc][nfc] Reformat and revise comment blockusers/ilovepi/cd-comments
| -rw-r--r-- | clang-tools-extra/clang-doc/Representation.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/clang-tools-extra/clang-doc/Representation.h b/clang-tools-extra/clang-doc/Representation.h index dec8165af601..44a7ee5bb428 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, |
