HomePhabricator

clang-format: [JS] do not insert semicolons after wrapped annotations.

Description

clang-format: [JS] do not insert semicolons after wrapped annotations.

Reviewers: djasper

Subscribers: klimek

Differential Revision: http://reviews.llvm.org/D18943

Event Timeline

bkramer added inline comments.
/cfe/trunk/lib/Format/UnwrappedLineParser.cpp
718

Shouldn't this be > 2? You need to have at least 3 tokens to get the previous of the previous of a token.

bkramer added inline comments.Apr 11 2016, 5:24 AM
/cfe/trunk/lib/Format/UnwrappedLineParser.cpp
718

Never mind, r265934.