[all-commits] [llvm/llvm-project] 97a9db: [clang-format] Handle possible crash in `getCells`...

XDeme via All-commits all-commits at lists.llvm.org
Fri Jan 12 10:20:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97a9dbb64919fe71379cda5f043633cbeb6438e5
      https://github.com/llvm/llvm-project/commit/97a9dbb64919fe71379cda5f043633cbeb6438e5
  Author: XDeme <66138117+XDeme at users.noreply.github.com>
  Date:   2024-01-12 (Fri, 12 Jan 2024)

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

  Log Message:
  -----------
  [clang-format] Handle possible crash in `getCells` (#77723)

Done as requested in llvm/llvm-project#77045

I have changed the test a bit, because since the root problem was fixed,
the original test would possibly never crash.




More information about the All-commits mailing list