djasper accepted this revision.
djasper added a comment.
This revision is now accepted and ready to land.
Generally looks good.
================
Comment at: lib/Format/ContinuationIndenter.cpp:93
+ break;
+ if (End->Next->is(tok::r_brace)) {
+ const ParenState *State = FindParenState(End->Next->MatchingParen);
----------------
I r_brace enough? Do we have something similar for TT_ArrayInitializer? I'd
look at usages of BreakBeforeClosingBrace to determine.
Repository:
rC Clang
https://reviews.llvm.org/D46519
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits