Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 5.0.0-beta1
-
8cc4bbe4d823053c13d1e0c46fb25987d1ab18bc (qt-creator/qt-creator/5.0)
Description
- Run Qt Creator with the ClangFormat plugin, e.g. qtcreator -tcs -load ClangFormat
- set up a license template with some comment block in Options > C++ > File Naming
- create a C++ file/class/project
- the indentation of the comment and some other parts are messed up
See attached file. This works fine when either turning off ClangFormat, or not having the comment block/license template. Works also fine with Qt Creator 4.15.
Attachments
For Gerrit Dashboard: QTCREATORBUG-25966 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
358177,2 | ClangFormat: Add xfailing unit test | 5.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
358190,2 | ClangFormat: Prepend a space character to our inserted line comment | 5.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |