[all-commits] [llvm/llvm-project] ec4829: fixes bug #51926 where dangling comma caused overrun

Fred Grim via All-commits all-commits at lists.llvm.org
Wed Oct 27 07:34:23 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: ec4829efcc947bde76d66844b5937f0d7de56058
      https://github.com/llvm/llvm-project/commit/ec4829efcc947bde76d66844b5937f0d7de56058
  Author: Fred Grim <fgrim at apple.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

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

  Log Message:
  -----------
  fixes bug #51926 where dangling comma caused overrun

bug 51926 identified an issue where a dangling comma caused the cell count to be to off by one

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

(cherry picked from commit a36227cb2b6a14fc30bfd303328d1d1abb632010)




More information about the All-commits mailing list