[all-commits] [llvm/llvm-project] 533fba: [clang-format] Add experimental option to remove L...
Owen via All-commits
all-commits at lists.llvm.org
Fri Jan 14 15:10:48 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 533fbae8d8d87fb151f852b5273e6e1626321567
https://github.com/llvm/llvm-project/commit/533fbae8d8d87fb151f852b5273e6e1626321567
Author: Owen Pan <owenpiano at gmail.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add experimental option to remove LLVM braces
See the style examples at:
https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements
Differential Revision: https://reviews.llvm.org/D116316
More information about the All-commits
mailing list