[all-commits] [llvm/llvm-project] 6128bc: [clang-tidy] Fix crash in --dump-config

Nathan James via All-commits all-commits at lists.llvm.org
Sat Apr 15 14:58:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6128bcd02512eeb0e0bbb8b0a9c4d82f6f9427b2
      https://github.com/llvm/llvm-project/commit/6128bcd02512eeb0e0bbb8b0a9c4d82f6f9427b2
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2023-04-15 (Sat, 15 Apr 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidy.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/infrastructure/dump-config-invalid.cpp

  Log Message:
  -----------
  [clang-tidy] Fix crash in --dump-config

Fixes a crash in dump-config when checks emit warnings trying to read the config

Fixes https://github.com/llvm/llvm-project/issues/50876

Co-authored-by: Piotr Zegar <me at piotrzegar.pl>

Reviewed By: PiotrZSL

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




More information about the All-commits mailing list