[clang-tools-extra] [clang-doc] Add regression test for test comments in macros (PR #132510)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 24 19:22:42 PDT 2025
================
@@ -0,0 +1,34 @@
+// Fixes #59819. The underlying problem was fixed in https://reviews.llvm.org/D142560, but this patch adds a proper regression test.
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: clang-doc --format=md --doxygen --output=%t --executor=standalone %s
+// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.md --check-prefix=MD-MYCLASS-LINE
+// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.md --check-prefix=MD-MYCLASS
+// RUN: clang-doc --format=html --doxygen --output=%t --executor=standalone %s
----------------
ilovepi wrote:
```suggestion
// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.md --check-prefix=MD-MYCLASS
// RUN: clang-doc --format=html --doxygen --output=%t --executor=standalone %s
```
https://github.com/llvm/llvm-project/pull/132510
More information about the cfe-commits
mailing list