diff options
author | Sam McCall <sam.mccall@gmail.com> | 2022-04-28 10:21:51 +0200 |
---|---|---|
committer | Haojian Wu <hokein.wu@gmail.com> | 2022-05-03 15:42:07 +0200 |
commit | eac22d0754f70df10ea0eb6f59cbd1ef012ab5a4 (patch) | |
tree | e087e575b39d0dee617f9db08b0f95092d8fdc3a /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | ca0b41665978d5efd8482188a0541342cb298031 (diff) | |
download | llvm-eac22d0754f70df10ea0eb6f59cbd1ef012ab5a4.zip llvm-eac22d0754f70df10ea0eb6f59cbd1ef012ab5a4.tar.gz llvm-eac22d0754f70df10ea0eb6f59cbd1ef012ab5a4.tar.bz2 |
[pseudo] Implement the GLR parsing algorithm.
This patch implements a standard GLR parsing algorithm, the
core piece of the pseudoparser.
- it parses preprocessed C++ code, currently it supports correct code
only and parse them as a translation-unit;
- it produces a forest which stores all possible trees in an efficient
manner (only a single node being build for per (SymbolID, Token Range));
no disambiguation yet;
Differential Revision: https://reviews.llvm.org/D121150
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions