View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001105 | OpenMPT | General | public | 2018-03-19 10:05 | 2021-02-14 13:09 |
Reporter | manx | Assigned To | manx | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | fixed | ||
Product Version | OpenMPT 1.28.00.* (old testing) | ||||
Target Version | OpenMPT 1.?? (long term goals) | Fixed in Version | OpenMPT 1.29.00.* (old testing) | ||
Summary | 0001105: clang-format support | ||||
Description | VS2017 15.7 will support clang-format natively. See https://blogs.msdn.microsoft.com/vcblog/2018/03/13/clangformat-support-in-visual-studio-2017-15-7-preview-1/. | ||||
Additional Information | There are multiple tools that can derive formatting style from existing source code:
| ||||
Tags | No tags attached. | ||||
Has the bug occurred in previous versions? | |||||
Tested code revision (in case you know it) | |||||
running whatstyle no
which is obviously not ideal |
|
A hand-written clang-format file would look somewhat like
This is based on clang-format 5.0 because this version is shipped with VS2017 15.7. |
|
Hand-written version for libopenmpt: |
|
Implemented in r11706. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-03-19 10:05 | manx | New Issue | |
2018-03-19 10:05 | manx | Status | new => assigned |
2018-03-19 10:05 | manx | Assigned To | => manx |
2018-05-12 13:36 | manx | Note Added: 0003526 | |
2018-05-12 13:40 | manx | Note Added: 0003527 | |
2018-05-12 13:41 | manx | Note Edited: 0003526 | |
2018-05-12 13:51 | manx | Note Added: 0003528 | |
2018-05-12 14:07 | manx | Note Edited: 0003528 | |
2018-11-13 07:42 | manx | Target Version | OpenMPT 1.28.01.00 / libopenmpt 0.4.0 (upgrade first) => OpenMPT 1.?? (long term goals) |
2019-07-03 11:56 | manx | Status | assigned => resolved |
2019-07-03 11:56 | manx | Resolution | open => fixed |
2019-07-03 11:56 | manx | Fixed in Version | => OpenMPT 1.29.00.* (old testing) |
2019-07-03 11:56 | manx | Note Added: 0003970 | |
2021-01-30 09:38 | manx | Status | resolved => assigned |
2021-02-14 09:40 | manx | Relationship added | related to 0001413 |
2021-02-14 13:09 | manx | Relationship added | related to 0001416 |