[all-commits] [llvm/llvm-project] 28efb1: [pseudo] Fix an out-of-bound error in LRTable::find.

Haojian Wu via All-commits all-commits at lists.llvm.org
Wed Mar 2 00:54:09 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28efb1ccf5eabd25119a3a7df2c2c1f1407dbfec
      https://github.com/llvm/llvm-project/commit/28efb1ccf5eabd25119a3a7df2c2c1f1407dbfec
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

  Changed paths:
    M clang/lib/Tooling/Syntax/Pseudo/LRTable.cpp
    M clang/test/Syntax/lr-build-basic.test

  Log Message:
  -----------
  [pseudo] Fix an out-of-bound error in LRTable::find.

The linear scan should not escape the TargetedStates range.

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




More information about the All-commits mailing list