[llvm-bugs] [Bug 50019] AllowShortIfStatementsOnASingleLine don't work with else if constexpr statement

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 3 09:13:18 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50019

Marek Kurdej <curdeius at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
 Fixed By Commit(s)|                            |8d93d7ffedebc5f18dee22ba954
                   |                            |d38a1d2d0affa

--- Comment #2 from Marek Kurdej <curdeius at gmail.com> ---
Fixed in https://reviews.llvm.org/rG8d93d7ffedebc5f18dee22ba954d38a1d2d0affa.
You'd need to use `AllowShortIfStatementsOnASingleLine: AllIfsAndElse` because
`AllowShortIfStatementsOnASingleLine: Always` has kept the old behaviour not to
break the backwards compatibility.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210503/13c61f5c/attachment.html>


More information about the llvm-bugs mailing list