Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 13.0.1, Qt Creator 14.0.1
-
None
-
-
4dc40b414 (15.0)
Description
Unsure what components to assign so feel free to make suggestions. I did my best to check for duplicates but could find none, apologies if I missed one.
I can reproduce the issue by being a clang-format enforced east-conster by setting "QualifierAlignment: Right" in your .clang-format and then using "Add Definition in file.cpp"
Generation of the definition goes wrong at this point, yielding:
Setting QualifierAlignment to Left will yield the correct definition syntax.
Attachments
For Gerrit Dashboard: QTCREATORBUG-31004 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
601572,2 | ClangFormat: Fix removal of common prefix and suffix | 15.0 | qt-creator/qt-creator | Status: MERGED | +2 | +1 |