llvm-project/clang-tools-extra/pseudo/test
Haojian Wu 1a65c491be [pseudo] Support parsing variant target symbols.
With this patch, we're able to parse smaller chunks of C++ code (statement,
declaration), rather than translation-unit.

The start symbol is listed in the grammar in a form of `_ :=
statement`, each start symbol has a dedicated state (`_ := • statement`).
We create and track all these separate states in the LRTable. When we
start parsing, we lookup the corresponding state to start the parser.

LR pasing table changes with this patch:
- number of states: 1467 -> 1471
- number of actions: 82891 -> 83578
- size of the table (bytes): 334248 -> 336996

Differential Revision: https://reviews.llvm.org/D125006
2022-05-16 10:38:16 +02:00
..
Unit Reapply [pseudo] Move pseudoparser from clang to clang-tools-extra" 2022-03-16 01:10:55 +01:00
crash [pseudo] Only expand UCNs for raw_identifiers 2022-05-06 08:53:31 +02:00
CMakeLists.txt [pseudo] Add fuzzer for the pseudoparser. 2022-05-06 09:22:28 +02:00
check-cxx-bnf.test Reapply [pseudo] Move pseudoparser from clang to clang-tools-extra" 2022-03-16 01:10:55 +01:00
fuzzer.cpp [pseudo] Add fuzzer for the pseudoparser. 2022-05-06 09:22:28 +02:00
glr-variant-start.cpp [pseudo] Support parsing variant target symbols. 2022-05-16 10:38:16 +02:00
glr.cpp [pseudo] Use a real language option in the parser. 2022-05-03 22:24:56 +02:00
lex.c [pseudo] Strip directives from a token stream 2022-05-06 12:15:08 +02:00
lit.cfg.py Reapply [pseudo] Move pseudoparser from clang to clang-tools-extra" 2022-03-16 01:10:55 +01:00
lit.local.cfg Reapply [pseudo] Move pseudoparser from clang to clang-tools-extra" 2022-03-16 01:10:55 +01:00
lit.site.cfg.py.in [cmake] Provide CURRENT_TOOLS_DIR centrally, replacing CLANG_TOOLS_DIR 2022-03-25 20:22:01 +01:00
lr-build-basic.test [pseudo] Sort nonterminals based on their reduction order. 2022-03-24 14:30:12 +01:00
lr-build-conflicts.test [pseudo] Sort nonterminals based on their reduction order. 2022-03-24 14:30:12 +01:00
strip-directives.c [pseudo] Strip directives from a token stream 2022-05-06 12:15:08 +02:00