[all-commits] [llvm/llvm-project] 8d93d7: [clang-format] Add options to AllowShortIfStatemen...
Marek Kurdej via All-commits
all-commits at lists.llvm.org
Mon May 3 09:11:48 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d93d7ffedebc5f18dee22ba954d38a1d2d0affa
https://github.com/llvm/llvm-project/commit/8d93d7ffedebc5f18dee22ba954d38a1d2d0affa
Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
Date: 2021-05-03 (Mon, 03 May 2021)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add options to AllowShortIfStatementsOnASingleLine to apply to "else if" and "else".
This fixes the bug http://llvm.org/pr50019.
Reviewed By: MyDeveloperDay
Differential Revision: https://reviews.llvm.org/D100727
More information about the All-commits
mailing list