Re: [PATCH 1/5] c++: Set the outer brace marker for missed cases.

2025-05-13 Thread Jason Merrill
On 5/13/25 10:30 AM, Iain Sandoe wrote: In some cases, a function might be declared as FUNCTION_NEEDS_BODY_BLOCK but all the content is contained within that block. However, poplevel is currently assuming that such cases would always contain subblocks. In the case that we do have a body block,

[PATCH 1/5] c++: Set the outer brace marker for missed cases.

2025-05-13 Thread Iain Sandoe
In some cases, a function might be declared as FUNCTION_NEEDS_BODY_BLOCK but all the content is contained within that block. However, poplevel is currently assuming that such cases would always contain subblocks. In the case that we do have a body block, but there are no subblocks then st the out