]> granicus.if.org Git - clang/commit
clang-format: [JS] generator and async functions.
authorMartin Probst <martin@probst.io>
Sun, 24 Apr 2016 22:05:09 +0000 (22:05 +0000)
committerMartin Probst <martin@probst.io>
Sun, 24 Apr 2016 22:05:09 +0000 (22:05 +0000)
commit244ba9735889c3741f4b41c978796cdc342e6a0a
tree65c16f54a10c4107c838b7373e94ff21225e4345
parent2340dc028030dadc7a65ca5182cfd8e267b49d2c
clang-format: [JS] generator and async functions.

For generators, see:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_generators
async functions are not quite in the spec yet, but stage 3 and already widely used:
http://tc39.github.io/ecmascript-asyncawait/

Reviewers: djasper

Subscribers: klimek

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267368 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/ContinuationIndenter.cpp
lib/Format/FormatToken.h
lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTestJS.cpp