• Lorenz Haas's avatar
    Beautifier: Fix formatting with AStyle and make it more robust · 2ce4bbc4
    Lorenz Haas authored
    Only version 2.04 added an extra newline. Later versions are fixed, so
    the should not remove a newline.
    In addition if piping is enabled we stream "\n" line endings so tell
    AStyle this explicitly by passing -z2. This disables the automatic
    detection which can be faulty with short code fragments.
    
    Task-number: QTCREATORBUG-17546
    Change-Id: Ib90526234bfbc4d3530fd9c3a15bdfb3af02bebd
    Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
    2ce4bbc4
Name
Last commit
Last update
bin Loading commit data...
dist Loading commit data...
doc Loading commit data...
qbs Loading commit data...
scripts Loading commit data...
share Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.qmake.conf Loading commit data...
HACKING Loading commit data...
LICENSE.GPL3-EXCEPT Loading commit data...
README.md Loading commit data...
qtcreator.pri Loading commit data...
qtcreator.pro Loading commit data...
qtcreator.qbs Loading commit data...
qtcreatordata.pri Loading commit data...