[clang-tools-extra] [clang-doc][NFC] Add TODO for future work (PR #138052)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 30 16:43:17 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-tools-extra
Author: Paul Kirth (ilovepi)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/138052.diff
1 Files Affected:
- (modified) clang-tools-extra/clang-doc/Representation.h (+1)
``````````diff
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,
``````````
</details>
https://github.com/llvm/llvm-project/pull/138052
More information about the cfe-commits
mailing list