In Microsoft driver code, they frequently format the function signature like this:
VOID
EvtIoStop(
_In_ WDFQUEUE Queue,
_In_ WDFREQUEST Request,
_In_ ULONG ActionFlags
)
Notice how the closing paren is aligned with the start of the arguments.
When I auto format, it keeps removing all space before the paren.
How can I stop it from doing that? I have messed with many options under Options -> C/C++ -> Code Style but none have any effect on this behavior.
New contributor
Alex Env is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.