[all-commits] [llvm/llvm-project] 0135e0: [clang-format] Fix a regression in dumping the con...

Owen Pan via All-commits all-commits at lists.llvm.org
Fri Feb 9 13:25:27 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 0135e048a1a0105d5842c3506345211c54001c54
      https://github.com/llvm/llvm-project/commit/0135e048a1a0105d5842c3506345211c54001c54
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M clang/test/Format/dump-config-objc-stdin.m
    M clang/test/Format/verbose.cpp
    M clang/tools/clang-format/ClangFormat.cpp

  Log Message:
  -----------
  [clang-format] Fix a regression in dumping the config (#80628)

Commit d813af73f70f addressed a regression introduced by commit
3791b3fca6ea
but caused `clang-format -dump-config` to "hang".

This patch reverts changes to ClangFormat.cpp by both commits and
reworks the cleanup.

Fixes #80621.

(cherry picked from commit 8f6e13e6da84510c8321717860fd506e12118514)




More information about the All-commits mailing list