[all-commits] [llvm/llvm-project] e16f66: [clang-format] Handle '_' in ud-suffix for Integer...
Owen via All-commits
all-commits at lists.llvm.org
Mon Apr 3 21:22:28 PDT 2023
Branch: refs/heads/release/16.x
Home: https://github.com/llvm/llvm-project
Commit: e16f668f5ed0699498a987be21d32f04e8bdcfbb
https://github.com/llvm/llvm-project/commit/e16f668f5ed0699498a987be21d32f04e8bdcfbb
Author: Owen Pan <owenpiano at gmail.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
M clang/unittests/Format/IntegerLiteralSeparatorTest.cpp
Log Message:
-----------
[clang-format] Handle '_' in ud-suffix for IntegerLiteralSeparator
Also, handle imaginary numbers, i.e., those with suffixes starting
with an 'i'.
Fixes #61676.
Differential Revision: https://reviews.llvm.org/D146844
(cherry picked from commit 4d21868b09681dffb9997f1a8d0c0dac12a226d3)
More information about the All-commits
mailing list