[clang-format][NFC] Turn on some code-changing options one by one
authorOwen Pan <owenpiano@gmail.com>
Wed, 14 Dec 2022 21:54:44 +0000 (13:54 -0800)
committerOwen Pan <owenpiano@gmail.com>
Fri, 16 Dec 2022 03:48:26 +0000 (19:48 -0800)
commit240e29c5015d246de7fb5e4421aa93042fada59b
tree28df669a61eb7e7cf8f6f51e84feba710f414407
parentac52c8f5897958be2074e079197bf197824d0486
[clang-format][NFC] Turn on some code-changing options one by one

For the code-changing options InsertBraces, RemoveBracesLLVM, and
RemoveSemicolon, turn the option on only when running the token
analyzer pass for it. This improves the run-time and avoids
interference from other options.

Differential Revision: https://reviews.llvm.org/D140058
clang/lib/Format/Format.cpp