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

Daniel Jasper <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Daniel Jasper <[email protected]> ---
While I sympathize that you want these features, they are significantly out of
the scope of what clang-format wants to do. Both suggested changes, are not
formatting changes, but actually change the program. The first merely changes
the AST, the latter changes the program behavior (stack layout, initialization
order, ...).

And even those considerations aside, clang-format is doing a very coarse
analysis of your program. It doesn't actually use Clang to generate an AST and
simply doesn't understand the input well enough to make either change.

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

Reply via email to