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

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 22 13:37:25 PST 2022


HazardyKnusperkeks accepted this revision.
HazardyKnusperkeks added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/unittests/Format/FormatTest.cpp:25124
 
+TEST_F(FormatTest, IntegerLiteralSeparator) {
+  FormatStyle Style = getLLVMStyle();
----------------
I'd like to see `FormatTest.cpp` shrink, maybe add this in a new file?


================
Comment at: clang/unittests/Format/FormatTest.cpp:25166
+               Style);
+}
+
----------------
Add a test that we really don't touch floating points?


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

https://reviews.llvm.org/D140543



More information about the cfe-commits mailing list