It's compiler's work. Standard won't require code style.
You can use clang-format and apply it in your develop environment, and not have a proposal there.

获取Outlook for Android

From: Std-Proposals <std-proposals-bounces@lists.isocpp.org> on behalf of Frederick Virchanza Gotham via Std-Proposals <std-proposals@lists.isocpp.org>
Sent: Thursday, October 16, 2025 7:54:41 PM
To: std-proposals@lists.isocpp.org <std-proposals@lists.isocpp.org>
Cc: Frederick Virchanza Gotham <cauldwell.thomas@gmail.com>
Subject: Re: [std-proposals] Proposal: -Wverbose-style
 
On Tue, Oct 14, 2025 at 6:21 PM Jerome Saint-Martin wrote:
>
> Just write `if (flag)`
>   if (flag == true)


I think your post here is interesting though along the lines of being
able to specify an option/switch/flag to the compiler, because
currently the Standard doesn't allow for it, so perhaps consider
writing a proposal about having the compiler accept
options/switches/flags.

Just by the way, when I'm checking for 'true', I do:

    if ( flag )

And when I'm checking for 'false', I do:

    if ( false == flag )

because I like the verbosity. It's less easy to miss a "false ==" than a "!".

By the way, be careful with comparing things to 'true' because integer
promotion might screw you (as 'true' becomes 1), for example:

    int CheckFlag(void) { return 7; }

    int main(void) { return true == CheckFlag(); }
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals