[PATCH] D123535: [clang-format] Allow empty .clang-format file

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 11 13:05:08 PDT 2022


owenpan added a comment.

In D123535#3443604 <https://reviews.llvm.org/D123535#3443604>, @curdeius wrote:

> I have stumbled on it myself several times but never really needed a fix.
> Out of curiosity, what motivates you to do this change?

I was playing with adding/removing some options in a .clang-format file that sometimes became empty as a result. I could work around this bug by commenting out the options instead of removing them but decided to fix it because sooner or later someone else will encounter the same problem and file a bug report.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123535



More information about the cfe-commits mailing list