summaryrefslogtreecommitdiff
path: root/src/libs/qmljs/qmljscheck.cpp
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2019-03-11 11:10:12 +0100
committerIvan Donchevskii <ivan.donchevskii@qt.io>2019-03-11 10:32:23 +0000
commit5006bfb1572c64da2ac3d5104074c50cbdfa785a (patch)
treeed89520fb911c4b35feeed9d866cfd07a30730b4 /src/libs/qmljs/qmljscheck.cpp
parent2d3e8ef77b7b69a806343758a0047024e67f0761 (diff)
downloadqt-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