llcppsigfetch:avoid tab

This commit is contained in:
luoliwoshang
2024-09-09 16:34:26 +08:00
parent b369321e2f
commit 140352b637

View File

@@ -8,26 +8,35 @@ func main() {
func TestDoc() { func TestDoc() {
testCases := []string{ testCases := []string{
`// not read doc 1 `
void foo();`, // not read doc 1
`/* not read doc 2 */ void foo();`,
void foo();`, `
`/// doc /* not read doc 2 */
void foo();`, void foo();`,
`/** doc */ `
void foo();`, /// doc
`/*! doc */ void foo();`,
void foo();`, `
`/// doc 1 /** doc */
void foo();`,
`
/*! doc */
void foo();`,
`
/// doc 1
/// doc 2 /// doc 2
void foo();`, void foo();`,
`/*! doc 1 */ `
/*! doc 1 */
/*! doc 2 */ /*! doc 2 */
void foo();`, void foo();`,
`/** doc 1 */ `
/** doc 1 */
/** doc 1 */ /** doc 1 */
void foo();`, void foo();`,
`/** `
/**
* doc 1 * doc 1
* doc 2 * doc 2
*/ */