[all-commits] [llvm/llvm-project] edb8fb: [pseudo] Fix HeadsPartition is not initialized cor...

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Aug 23 06:10:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edb8fb265990c3c4d0453d6b789554ccb5341123
      https://github.com/llvm/llvm-project/commit/edb8fb265990c3c4d0453d6b789554ccb5341123
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-08-23 (Tue, 23 Aug 2022)

  Changed paths:
    M clang-tools-extra/pseudo/lib/GLR.cpp
    M clang-tools-extra/pseudo/unittests/GLRTest.cpp

  Log Message:
  -----------
  [pseudo] Fix HeadsPartition is not initialized correctly.

The bug was that if we recover from the token 0, we will make the
Heads empty (Line646), which results no recovery being applied.

Reviewed By: sammccall

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




More information about the All-commits mailing list