[PATCH] D146501: [clang-format] Don't format already formatted integer literals
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 21 00:20:17 PDT 2023
owenpan created this revision.
owenpan added reviewers: MyDeveloperDay, HazardyKnusperkeks, rymiel.
owenpan added a project: clang-format.
Herald added a project: All.
owenpan requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Fixes a bug in `IntegerLiteralSeparatorFixer::checkSeparator()` so that only unformatted integer literals will be formatted.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146501
Files:
clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
clang/lib/Format/IntegerLiteralSeparatorFixer.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146501.506857.patch
Type: text/x-patch
Size: 3949 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230321/863b6b14/attachment-0001.bin>
More information about the cfe-commits
mailing list