[all-commits] [llvm/llvm-project] f465a4: [clang-format] Fix segmentation fault when formatt...

Arkadiy Yudintsev via All-commits all-commits at lists.llvm.org
Tue Sep 5 11:18:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f465a482caa94d01a2dd74e4c673adeb1f222f2f
      https://github.com/llvm/llvm-project/commit/f465a482caa94d01a2dd74e4c673adeb1f222f2f
  Author: Arkadiy Yudintsev <udincev at yandex.ru>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

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

  Log Message:
  -----------
  [clang-format] Fix segmentation fault when formatting nested namespaces

Fixing the clang-format crash with the segmentation fault error when
formatting code with nested namespaces.

Fixes #64701.

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




More information about the All-commits mailing list