[clang-tools-extra] [clang-doc] add support for enums comments in html generation (PR #101282)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 9 15:50:27 PDT 2024


================
@@ -431,6 +431,8 @@ struct EnumValueInfo {
   // Stores the user-supplied initialization expression for this enumeration
   // constant. This will be empty for implicit enumeration values.
   SmallString<16> ValueExpr;
+
+  std::vector<CommentInfo> Description; // Comment description of this field.
----------------
ilovepi wrote:

Shouldn't this be `///`? Otherwise I'd make it something like `// Not a documentation comment` or `// A comment that shouldn't show up in documentation`.

https://github.com/llvm/llvm-project/pull/101282


More information about the cfe-commits mailing list