[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 Apr 30 16:42:41 PDT 2025


https://github.com/ilovepi created https://github.com/llvm/llvm-project/pull/138052

None

>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] [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,



More information about the cfe-commits mailing list