[Lldb-commits] [clang] [clang-tools-extra] [lldb] [llvm] Add test to clang-doc, it can test comments in macro. Original issue is #59819. (PR #132360)

Paul Kirth via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 21 09:28:32 PDT 2025


================
@@ -0,0 +1,32 @@
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: clang-doc --format=md --doxygen --output=%t --executor=standalone %s
+// RUN: clang-doc --format=html --doxygen --output=%t --executor=standalone %s
----------------
ilovepi wrote:

Lets move this down w/ the HTML FileCheck lines so they're grouped together.

I'd also suggest renaming the test file to DR-59819.cpp, which is a common way to indicate that its a regression test (DR stands for Defect Report, and the number is the issue number. I'm fine to leave it with a more readable name, but in that case I'd prefer `comments-in-macros.cpp` and a comment at the top of the file describing the purpose and properties you're testing for.

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


More information about the lldb-commits mailing list