]> granicus.if.org Git - clang/commit
[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)
commit1a3344327201f381043be7f3466fce0f5d7779fc
tree0ea040717205052fa7cd4a10cfef0a4e185bb2ad
parent490148872567dc6c2c05abbfcab085fd4e404084
[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

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