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

Michael Pozulp <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|CONFIRMED                   |RESOLVED

--- Comment #5 from Michael Pozulp <[email protected]> ---
Thanks for the analysis! I looked more closely and the style for the code that
I work on allows short if statements on a single line AND short loops on a
single line. That means that all of these are ok

if (x) { x++; }

for (int x = 0; x < 10; x++) { x++; }

while (x) { x++; }

and it appears that setting these options retains the above code

AllowShortIfStatementsOnASingleLine: Always
AllowShortBlocksOnASingleLine: Always
AllowShortLoopsOnASingleLine: true

I'm going to close this bug as RESOLVED. I really appreciate your help!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to