Skip to content

AllowShortIfStatementsOnASingleLine don't work with else if constexpr statement #49363

@jfalcou

Description

@jfalcou
mannequin
Bugzilla Link 50019
Resolution FIXED
Resolved on May 03, 2021 09:13
Version trunk
OS Linux
CC @mkurdej
Fixed by commit(s) 8d93d7f

Extended Description

AllowShortIfStatementsOnASingleLine: Always
doesn't behave properly with else, else if and else if constexpr clauses.

https://godbolt.org/z/oxYTcxere

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions