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

From: xhcoding <[email-masked]>
Date: Mon, 06 Mar 2023 11:03:51 +0800

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() {
  |
}

In GNU Emacs 30.0.50 (build 6, x86_64-w64-mingw32)
Repository revision: 6fb8a4dff7ef22f96ebe1a775240617aabac6526
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.22621
System Description: Microsoft Windows 10 Home China (v10.0.2009.22621.1105)