Skip to content

Commit 05b0810

Browse files
committed
Add missing checks for Markdown
1 parent 512a49d commit 05b0810

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

clang-tools-extra/test/clang-doc/basic-project.test

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@
324324
// MD-CALC: *Defined at .{{[\/]}}include{{[\/]}}Calculator.h#8*
325325
// MD-CALC: **brief** A simple calculator class.
326326
// MD-CALC: Provides basic arithmetic operations.
327+
// MD-CALC: ## Members
328+
// MD-CALC: public int public_val
327329
// MD-CALC: ## Functions
328330
// MD-CALC: ### add
329331
// MD-CALC: *public int add(int a, int b)*
@@ -354,6 +356,13 @@
354356
// MD-CALC: **b** Second integer.
355357
// MD-CALC: **return** double The result of a / b.
356358
// MD-CALC: **throw**if b is zero.
359+
// MD-CALC: ### mod
360+
// MD-CALC: *public int mod(int a, int b)*
361+
// MD-CALC: *Defined at ./include{{[\/]}}Calculator.h#54*
362+
// MD-CALC: **brief** Performs the mod operation on integers.
363+
// MD-CALC: **a** First integer.
364+
// MD-CALC: **b** Second integer.
365+
// MD-CALC: **return** The result of a % b.
357366

358367
// MD-CIRCLE: # class Circle
359368
// MD-CIRCLE: *Defined at .{{[\/]}}include{{[\/]}}Circle.h#10*

0 commit comments

Comments
 (0)