summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2016-05-10 14:17:52 +0200
committerOrgad Shaneh <orgads@gmail.com>2016-05-11 05:08:11 +0000
commitd9d3d86ad27a573804bef57745bbc917256c28f7 (patch)
treeab006742da3dd279ba5b8e26667d71b5d8bb3897 /share
parent1239245f575f7bb214dcf2476ba0e19ba6fde789 (diff)
downloadqt-creator-d9d3d86ad27a573804bef57745bbc917256c28f7.tar.gz
Beautifier: Fix clang-format file style regression
Commit 3310fbc8f2f00aacf4f3c3bb373f49b1549db8bd introduced regression replacing -assume-filename=%file with -assume-filename=%filename, that caused only file name part to be passed to clang-format, not whole path to the buffer. Effectively when formatting the buffer with style set to "File", clang-format was unable to determine related style file placement (eg. within the project tree) anymore. This reverts back to use %file, not %filename, making clang-format "File" style work again as expected. Change-Id: I5e7ae3d1186b1e7c33dc89a7d60aacc0f0671e51 Reviewed-by: Lorenz Haas <lorenz.haas@histomatics.de> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions