[llvm-dev] Clang-format doubt
saloni goyal via llvm-dev
llvm-dev at lists.llvm.org
Thu Jun 10 04:18:29 PDT 2021
Greetings of the day,
I was using clang format and noticed something unusual there. When I have
selected the configuration of aligning according to Brackets to DontAlign
and also the Usetab to UT_Always it still align according to parentheses
e.g.
for (itr = fMouseSettingsObject.begin(); itr != fMouseSettingsObject.end();
++itr)
There was an extra space added before ++ operator along with tab. I want to
remove this extra space. I tried this and after removing this line
<https://github.com/llvm/llvm-project/blob/main/clang/lib/Format/WhitespaceManager.cpp#L1040>the
space was removed. But is this a correct method or is there any other
solution for this?
Thanks
Saloni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210610/87ea3140/attachment.html>
More information about the llvm-dev
mailing list