Commit 8eee8476 authored by Adam Strzelecki's avatar Adam Strzelecki Committed by David Schulz
Browse files

Beautifier: Add -assume-filename to clang-format

Otherwise -style=file will be unusable, since clang-format needs to know
original file path in order to resolve .clang-format file location.

Change-Id: I0581cbcdf5770eed98179fe37d5517f648d7b826
Reviewed-by: default avatarLorenz Haas <>
Reviewed-by: default avatarPrzemyslaw Gorszkowski <>
Reviewed-by: default avatarDavid Schulz <>
parent 22d4cdab
......@@ -145,6 +145,7 @@ Command ClangFormat::command(int offset, int length) const
command.addOption(QLatin1String("-offset=") + QString::number(offset));
command.addOption(QLatin1String("-length=") + QString::number(length));
return command;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment