================ @@ -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 +// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.md --check-prefix=MD-MyClass-LINE +// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.md --check-prefix=MD-MyClass +// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.html --check-prefix=HTML-MyClass-LINE +// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.html --check-prefix=HTML-MyClass + +#define DECLARE_METHODS \ + /** + * @brief Declare a method to calculate the sum of two numbers ---------------- ZhongUncle wrote:
Yes, I intend to do it, because I try to restore code in issue. And I test some comment styles in this position, like `///`(not work, because new line symbol not work well), `/**/`(works well) and `/**`(works, this is also format in issue, but if I use `\` in each line end, it will output 2 `\` and blank in gnerated markdown). https://github.com/llvm/llvm-project/pull/132360 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits