[clang-format] Put '/**' and '*/' on own lines in jsdocs ending in comment pragmas
authorKrasimir Georgiev <krasimir@google.com>
Wed, 9 Aug 2017 09:42:32 +0000 (09:42 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Wed, 9 Aug 2017 09:42:32 +0000 (09:42 +0000)
commit3b86534a63b89d691f03476d209ae196bd778d84
treed1636bdbd669f3da66325e023219c1c2483a58c7
parent7f569a2d549941aa1fe44d97d5c785661e5ee391
[clang-format] Put '/**' and '*/' on own lines in jsdocs ending in comment pragmas

Summary:
This handles a case where the trailing '*/' of a multiline jsdoc eding in a
comment pragma wouldn't be put on a new line.

Reviewers: mprobst

Reviewed By: mprobst

Subscribers: cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D36359

llvm-svn: 310458
clang/lib/Format/BreakableToken.cpp
clang/lib/Format/BreakableToken.h
clang/lib/Format/ContinuationIndenter.cpp
clang/unittests/Format/FormatTestJS.cpp