Subject: bug#61997: 30.0.50; c++-ts-mode; cannot indent in an empty function body

From: Eli Zaretskii <[email-masked]>
Date: Mon, 06 Mar 2023 14:57:09 +0200

> Date: Mon, 06 Mar 2023 11:03:51 +0800
> From: xhcoding <[email-masked]>
> 
> 
> When the cursor is at the position of the following code,
> pressing tab cannot indent to the correct position.
> 
> int add() {
> |  <-- pressing tab can not indent
> }
> 
> The expected position after pressing the tab:
> 
> int add() {
>   |
> }

I think you are supposed to switch the indentation style to bsd, and
then it will work.  The default is gnu.