[all-commits] [llvm/llvm-project] 26748a: [clang-format] Add new option to add spaces around...
mitchell-stellar via All-commits
all-commits at lists.llvm.org
Tue Dec 3 09:22:55 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 26748a321e20a7aa952ce8daa4f030c384ae7032
https://github.com/llvm/llvm-project/commit/26748a321e20a7aa952ce8daa4f030c384ae7032
Author: Mitchell Balan <mitchell at stellarscience.com>
Date: 2019-12-03 (Tue, 03 Dec 2019)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add new option to add spaces around conditions
Summary:
This diff adds a new option SpacesAroundConditions that inserts spaces inside the braces for conditional statements.
Reviewers: klimek, owenpan, mitchell-stellar, MyDeveloperDay
Patch by: timwoj
Subscribers: rsmmr, cfe-commits
Tags: clang, clang-format
Differential Revision: https://reviews.llvm.org/D68346
More information about the All-commits
mailing list