[PATCH] D140543: [clang-format] Add an option to format integer literal separators

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 24 15:32:12 PST 2022


owenpan updated this revision to Diff 485210.
owenpan added a comment.

Cleaned up the unit tests a little bit:

- Made them a little more varied.
- Removed some overlapping test cases.
- Removed integer literal suffixes for JavaScript.
- Added an octal `BigInt` test case for JavaScript.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140543/new/

https://reviews.llvm.org/D140543

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/CMakeLists.txt
  clang/lib/Format/Format.cpp
  clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
  clang/lib/Format/IntegerLiteralSeparatorFixer.h
  clang/unittests/Format/CMakeLists.txt
  clang/unittests/Format/IntegerLiteralSeparatorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140543.485210.patch
Type: text/x-patch
Size: 23295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221224/68b6de19/attachment-0001.bin>


More information about the cfe-commits mailing list