diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2019-03-11 11:10:12 +0100 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2019-03-11 10:32:23 +0000 |
commit | 5006bfb1572c64da2ac3d5104074c50cbdfa785a (patch) | |
tree | ed89520fb911c4b35feeed9d866cfd07a30730b4 /src/libs/qmljs/qmljscheck.cpp | |
parent | 2d3e8ef77b7b69a806343758a0047024e67f0761 (diff) | |
download | qt-creator-5006bfb1572c64da2ac3d5104074c50cbdfa785a.tar.gz |
ClangFormat: Simplify the dummy text for empty line heuristics
The text to fill the empty line mostly depends not on the
fact of being inside parenthesis or not but rather on the
last preceding meaningful character.
Let's check for this character and sometimes for the following
one to better understand the current context and pick the
proper dummy text.
With this behavior improvement we can better indent empty lines
inside initializer lists with empty lines inside.
Change-Id: Id2f27454ef56dfdf8c15b5efb14c4d09242908a9
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/libs/qmljs/qmljscheck.cpp')
0 files changed, 0 insertions, 0 deletions