[all-commits] [llvm/llvm-project] 6bf663: [clang-format] Don't format already formatted inte...
Owen via All-commits
all-commits at lists.llvm.org
Tue Apr 4 10:42:08 PDT 2023
Branch: refs/heads/release/16.x
Home: https://github.com/llvm/llvm-project
Commit: 6bf663061947954d54fe66cd25da2615c0cfd9cb
https://github.com/llvm/llvm-project/commit/6bf663061947954d54fe66cd25da2615c0cfd9cb
Author: Owen Pan <owenpiano at gmail.com>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
Log Message:
-----------
[clang-format] Don't format already formatted integer literals
Fixes a bug in IntegerLiteralSeparatorFixer::checkSeparator() so that
only unformatted integer literals will be formatted.
Differential Revision: https://reviews.llvm.org/D146501
(cherry picked from commit 5b5c49ad4563f75debccbc6c3017d27a47ca217d)
Commit: 356cb7e0d01681ed4f1e7cdd494267c5b3b81ab1
https://github.com/llvm/llvm-project/commit/356cb7e0d01681ed4f1e7cdd494267c5b3b81ab1
Author: Owen Pan <owenpiano at gmail.com>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
M clang/lib/Format/IntegerLiteralSeparatorFixer.h
M clang/unittests/Format/IntegerLiteralSeparatorTest.cpp
Log Message:
-----------
[clang-format] Add MinDigits suboptions to IntegerLiteralSeparator
Closes #61209.
Differential Revision: https://reviews.llvm.org/D147111
(cherry picked from commit 253985d58caf95db8a84632d5a761b96fb7cd7d6)
Compare: https://github.com/llvm/llvm-project/compare/7b133944eb89...356cb7e0d016
More information about the All-commits
mailing list