[all-commits] [llvm/llvm-project] 4daeb8: [clang-format] Fix a crash due to dereferencing nu...

Owen via All-commits all-commits at lists.llvm.org
Mon Nov 21 12:34:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4daeb8c7335439e2ab43d66acfed087c417a7314
      https://github.com/llvm/llvm-project/commit/4daeb8c7335439e2ab43d66acfed087c417a7314
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Fix a crash due to dereferencing null MatchingParen

Fixes #59089.

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




More information about the All-commits mailing list