[all-commits] [llvm/llvm-project] 240e29: [clang-format][NFC] Turn on some code-changing opt...

Owen via All-commits all-commits at lists.llvm.org
Thu Dec 15 19:48:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 240e29c5015d246de7fb5e4421aa93042fada59b
      https://github.com/llvm/llvm-project/commit/240e29c5015d246de7fb5e4421aa93042fada59b
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2022-12-15 (Thu, 15 Dec 2022)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list