[clang-tools-extra] [clang-doc] add enum test (PR #97679)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 9 18:11:07 PDT 2024
================
@@ -0,0 +1,38 @@
+// RUN: clang-doc --format=html --doxygen --output=%t/docs --executor=standalone %s
+// RUN: clang-doc --format=md --doxygen --output=%t/docs --executor=standalone %s
+// RUN: FileCheck %s -input-file=%t/docs/GlobalNamespace/index.html -check-prefix=HTML-INDEX
+// RUN: FileCheck %s -input-file=%t/docs/GlobalNamespace/index.md -check-prefix=MD-INDEX
+
+/**
+ * @brief For specifying RGB colors
+ */
+enum Color {
+ Red, // Red enums
+ Green, // Green enums
+ Blue // Blue enums
----------------
ilovepi wrote:
should these be doc comments?
https://github.com/llvm/llvm-project/pull/97679
More information about the cfe-commits
mailing list