[PATCH] D112056: [clang-format] git-clang-format throws an assertion when removing files as part of the commit

Lang Hames via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 19 09:28:49 PDT 2021


lhames added a comment.

I think that this should fix the issue I saw, but `clang-format` will still crash when passed a `-lines=0:X` option. Would it make sense to either error out in that tool, or teach the tool to ignore `-lines=0:0` options if they're guaranteed to be no-ops for formatting?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112056/new/

https://reviews.llvm.org/D112056



More information about the cfe-commits mailing list