MyDeveloperDay added inline comments.
================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:2705
}
- if (FormatTok->Tok.is(tok::l_brace)) {
+ if (FormatTok->Tok.is(tok::equal)) {
+ nextToken();
----------------
shouldn't this be
```FormatTok->Tok.is(tok::equal) &&
Style.BraceWrapping.BeforeStructInitialization```
Otherwise you won't go into the `else if (FormatTok->Tok.is(tok::l_brace)) {`
if its not turned on?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91949/new/
https://reviews.llvm.org/D91949
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits