[all-commits] [llvm/llvm-project] 3395a3: [clang-format] add case aware include sorting
Marek Kurdej via All-commits
all-commits at lists.llvm.org
Mon Jan 25 09:53:44 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3395a336b02538d0bb768ccfae11c9b6151b102e
https://github.com/llvm/llvm-project/commit/3395a336b02538d0bb768ccfae11c9b6151b102e
Author: Lukas Barth <work at kentsommer.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Tooling/Inclusions/IncludeStyle.h
M clang/lib/Format/Format.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/SortIncludesTest.cpp
Log Message:
-----------
[clang-format] add case aware include sorting
* Adds an option to [clang-format] which sorts
headers in an alphabetical manner using case
only for tie-breakers. The options is off by
default in favor of the current ASCIIbetical
sorting style.
Reviewed By: curdeius, HazardyKnusperkeks
Differential Revision: https://reviews.llvm.org/D95017
More information about the All-commits
mailing list