Skip to content

Commit 875938c

Browse files
committed
Fixes #59819. The underlying problem was fixed in https://reviews.llvm.org/D142560, but this patch adds a proper regression test.
1 parent 2b6556e commit 875938c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/test/clang-doc/comments-in-macros.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: clang-doc --format=md --doxygen --output=%t --executor=standalone %s
44
// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.md --check-prefix=MD-MYCLASS-LINE
55
// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.md --check-prefix=MD-MYCLASS
6+
67
// RUN: clang-doc --format=html --doxygen --output=%t --executor=standalone %s
78
// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.html --check-prefix=HTML-MYCLASS-LINE
89
// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.html --check-prefix=HTML-MYCLASS
@@ -11,8 +12,7 @@
1112
/** \
1213
* @brief Declare a method to calculate the sum of two numbers\
1314
*/ \
14-
int Add(int a, int b) \
15-
{ \
15+
int Add(int a, int b) { \
1616
return a + b; \
1717
}
1818

0 commit comments

Comments
 (0)