[all-commits] [llvm/llvm-project] b4243b: [clang-format] Don't rewrite the input file if alr...

Owen via All-commits all-commits at lists.llvm.org
Tue Feb 14 14:28:10 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4243bb611a30137f3f1a7f0e531f91d331ab4be
      https://github.com/llvm/llvm-project/commit/b4243bb611a30137f3f1a7f0e531f91d331ab4be
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M clang/lib/Format/IntegerLiteralSeparatorFixer.cpp

  Log Message:
  -----------
  [clang-format] Don't rewrite the input file if already formatted

If IntegerLiteralSeparator is set but the integer literals are
already formatted, don't rewrite the input file.

Fixes #60651.

Differential Revision: https://reviews.llvm.org/D143831




More information about the All-commits mailing list