[all-commits] [llvm/llvm-project] 07b7ff: [pseudo] Allow opaque nodes to represent terminals

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Jul 26 04:58:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07b7ff983837dbc20749682673d09992f71b0c59
      https://github.com/llvm/llvm-project/commit/07b7ff983837dbc20749682673d09992f71b0c59
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-07-26 (Tue, 26 Jul 2022)

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

  Log Message:
  -----------
  [pseudo] Allow opaque nodes to represent terminals

This allows incomplete code such as `namespace foo {` to be modeled as a
normal sequence with the missing } represented by an empty opaque node.

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




More information about the All-commits mailing list