by hdoc · 5y ago · 0 comments
Feel free to ask questions, we'll be answering as needed.
in my project, I use the catch2 framework,
the unit tests look like
TEST_CASE("....") {
}
this macro will be treated as invalid syntax by many c++ parsers, including doxygen's I think.
I notice that hdoc is based on clang. I tried using clang to dump syntax tree of the above code snippet, the result was incomprehensible, because the macro has been expanded by the preprocessor.
I actually tried using clang -ast-dump to dump syntax tree of the above code snippet, the result was incomprehensible, because the macro has been expanded by the preprocessor.
Please do try hdoc. The source is now available and there are precompiled binaries available on hdoc.io. It takes about 2 minutes to go from downloading hdoc to seeing your documentation on a website if you use the latter route.