[clang-tools-extra] [clang-doc][NFC] Add TODO for future work (PR #138052)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Wed May 7 16:21:27 PDT 2025
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/138052
>From 3e612b30626cfe3963fdbed341c028a8a8f0917e Mon Sep 17 00:00:00 2001
From: Paul Kirth <paulkirth at google.com>
Date: Tue, 29 Apr 2025 18:11:55 -0700
Subject: [PATCH 1/2] [clang-doc][NFC] Add TODO for future work
---
clang-tools-extra/clang-doc/Representation.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang-tools-extra/clang-doc/Representation.h b/clang-tools-extra/clang-doc/Representation.h
index b0b34fc6f08dd..df5a7e69034a4 100644
--- a/clang-tools-extra/clang-doc/Representation.h
+++ b/clang-tools-extra/clang-doc/Representation.h
@@ -60,6 +60,7 @@ struct CommentInfo {
// the vector.
bool operator<(const CommentInfo &Other) const;
+ // TODO: The Kind field should be an enum, so we can switch on it easily
SmallString<16>
Kind; // Kind of comment (FullComment, ParagraphComment, TextComment,
// InlineCommandComment, HTMLStartTagComment, HTMLEndTagComment,
>From d894b994249692e5caf02804c0a51d70f3c8ec20 Mon Sep 17 00:00:00 2001
From: Paul Kirth <paulkirth at google.com>
Date: Wed, 7 May 2025 16:21:17 -0700
Subject: [PATCH 2/2] Update Representation.h
---
clang-tools-extra/clang-doc/Representation.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang-tools-extra/clang-doc/Representation.h b/clang-tools-extra/clang-doc/Representation.h
index df5a7e69034a4..ea44c65be53ca 100644
--- a/clang-tools-extra/clang-doc/Representation.h
+++ b/clang-tools-extra/clang-doc/Representation.h
@@ -60,7 +60,7 @@ struct CommentInfo {
// the vector.
bool operator<(const CommentInfo &Other) const;
- // TODO: The Kind field should be an enum, so we can switch on it easily
+ // TODO: The Kind field should be an enum, so we can switch on it easily.
SmallString<16>
Kind; // Kind of comment (FullComment, ParagraphComment, TextComment,
// InlineCommandComment, HTMLStartTagComment, HTMLEndTagComment,
More information about the cfe-commits
mailing list