krasimir added inline comments.
================ Comment at: lib/Format/TokenAnnotator.cpp:1402 + PrevToken->MatchingParen->getPreviousNonComment() && + PrevToken->MatchingParen->getPreviousNonComment()->isOneOf( + tok::kw_typeof, ---------------- It would be cool if you extract the calls to getPreviousNonComment to a variable, saving the double iteration. https://reviews.llvm.org/D35847 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits