[clang-format] SortUsingDeclarations support lexicographic order
authorBackl1ght <backlight.zzk@gmail.com>
Fri, 20 Jan 2023 12:22:51 +0000 (20:22 +0800)
committerBackl1ght <backlight.zzk@gmail.com>
Fri, 20 Jan 2023 13:34:57 +0000 (21:34 +0800)
commit58751f943f2f6dd78dd3363fc70ea1728044ee0b
treeeaa7d844bd0fd1511365e229dac93ccc19b6eb8d
parenta5b457b7781a4389c6acddc70576ced75a2c5062
[clang-format] SortUsingDeclarations support lexicographic order

fix https://github.com/llvm/llvm-project/issues/59930

Differential Revision: https://reviews.llvm.org/D141694
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp
clang/lib/Format/UsingDeclarationsSorter.cpp
clang/unittests/Format/ConfigParseTest.cpp
clang/unittests/Format/UsingDeclarationsSorterTest.cpp