[all-commits] [llvm/llvm-project] 4d2186: [clang-format] Handle '_' in ud-suffix for Integer...

Owen via All-commits all-commits at lists.llvm.org
Tue Mar 28 13:13:20 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d21868b09681dffb9997f1a8d0c0dac12a226d3
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-03-28 (Tue, 28 Mar 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

More information about the All-commits mailing list