Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 14.0.2, Qt Creator 16.0.0
-
None
-
8a261c867 (master)
Description
Given the following snippet:
template <typename T>
void foo() {
if constexpr (sizeof(T) == 0)
}
When: placing the cursor at the end of the if line and hitting return
Then: the following line is indented 8 SP w.r..t to the if:
Expected: 4 spaces
Attachments
Issue Links
- relates to
-
QTCREATORBUG-32667 QtC misindents multi-line static_assert()
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-32666 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
636068,2 | CppEditor: Support constexpr-if in code formatter | master | qt-creator/qt-creator | Status: MERGED | +2 | +1 |