[all-commits] [llvm/llvm-project] d688b3: Fix segfault in clang-format.

r4nt via All-commits all-commits at lists.llvm.org
Wed Dec 1 02:58:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d688b31628004ed9e109e63c2b43701f97252ff3
      https://github.com/llvm/llvm-project/commit/d688b31628004ed9e109e63c2b43701f97252ff3
  Author: Manuel Klimek <klimek at google.com>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

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

  Log Message:
  -----------
  Fix segfault in clang-format.

Fix bug where we'd read past the end of the tokens after merging _T
macro strings.




More information about the All-commits mailing list