We can use the command
C-c C-s (bound to c-show-syntactic-information)
to simply report what the syntactic analysis is for the current line.
E.g.:
void swap( int& a, int& b ) { int tmp = a; a = b; b = tmp; }
Running this command on line 4 of this example, we’d see in the echo area:
((statement 35))