benhamilton added inline comments.
================ Comment at: lib/Format/TokenAnnotator.cpp:2484 + if (Right.is(tok::r_brace) && Right.MatchingParen && + Right.MatchingParen->is(TT_DictLiteral) && + Right.MatchingParen->Previous && ---------------- djasper wrote: > Could you use Right.MatchingParen->endsSequence(TT_DictLiteral, tok::at) here? Yes, done. I keep forgetting about the reverse order of that method (it makes sense, I just can't keep that info in my brain for some reason.) Repository: rC Clang https://reviews.llvm.org/D44816 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits