[all-commits] [llvm/llvm-project] df0026: clang-format: Add a consumer to diagnostics engine

Krasimir Georgiev via All-commits all-commits at lists.llvm.org
Thu Oct 29 03:29:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: df00267f1fdb0b098dc42f1caa8a59b29c8e0e5f
      https://github.com/llvm/llvm-project/commit/df00267f1fdb0b098dc42f1caa8a59b29c8e0e5f
  Author: Krasimir Georgiev <krasimir at google.com>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M clang/tools/clang-format/CMakeLists.txt
    M clang/tools/clang-format/ClangFormat.cpp

  Log Message:
  -----------
  clang-format: Add a consumer to diagnostics engine

Contributed by dmikis (Kirill Dmitrenko)!

Otherwise problems like trying to format readonly file in-place led to crashes.

I've added reviewers by looking at `git blame` and other reviews to the changed file, so may have missed someone.

Reviewed By: krasimir

Differential Revision: https://reviews.llvm.org/D90121




More information about the All-commits mailing list