Open nkaralis opened 2 months ago
I've added my comments above
By "I think that should not happen.", do you mean that we need to find a way to prevent it?
Regarding A and B: Yes, it happens even in long lines.
Regarding C, it is written as follows
template<typename T>
requires Dummy1<T> or Dummy2<T>
By "I think that should not happen.", do you mean that we need to find a way to prevent it?
yes. I was not sure how to formulate it :)
Paradoxically i have found a solution for E and not for D, G and both Hs.
C: There is a setting for that, i can change it, if you prefer.
I have compiled a list of formatting styles that we might not want to follow.
A:
@bigerl: this can probably be prevented with an
//
at the end of each line. Is it still wrapped if lines get too long?B:
@bigerl: same as A
C:
@bigerl: how does it look then?
D:
@bigerl: I think that should not happen.
E:
@bigerl: I think that should not happen but I am afraid that clang-format might not allow us to configure that.
F:
@bigerl: I would suggest to put the comment to the bracket like:
} else { // comment
G:
@bigerl: I think that should not happen
H:
@bigerl: I think that should not happen but here I am also not sure if we can prevent clang-format to do that.
H:
@bigerl: I think that should not happen.