]> granicus.if.org Git - clang/commit
[clang-format] Add style option AllowShortLambdasOnASingleLine
authorRonald Wampler <rdwampler@gmail.com>
Tue, 26 Mar 2019 20:18:14 +0000 (20:18 +0000)
committerRonald Wampler <rdwampler@gmail.com>
Tue, 26 Mar 2019 20:18:14 +0000 (20:18 +0000)
commit7e997c278b6a5b1e2e39c7242dd854b3d10b58ee
treef5d2d9b780088f6a7dabcc422a4324622fef9f7a
parent182d7fa38b05c20dea18a8d5c922710b2f0b7875
[clang-format] Add style option AllowShortLambdasOnASingleLine

Summary:
This option `AllowShortLambdasOnASingleLine` similar to the other `AllowShort*` options, but applied to C++ lambdas.

Reviewers: djasper, klimek

Reviewed By: klimek

Subscribers: MyDeveloperDay, cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357027 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Format/FormatToken.h
lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTest.cpp