llvm-project/clang-tools-extra/pseudo/test
Sam McCall 3132e9cd7c [pseudo] Key guards by RuleID, add guards to literals (and 0).
After this, NUMERIC_CONSTANT and strings should parse only one way.

There are 8 types of literals, and 24 valid (literal, TokenKind) pairs.
This means adding 8 new named guards (or 24, if we want to assert the token).

It seems fairly clear to me at this point that the guard names are unneccesary
indirection: the guards are in fact coupled to the rule signature.

(Also add the zero guard I forgot in the previous patch.)

Differential Revision: https://reviews.llvm.org/D130066
2022-07-21 22:42:31 +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
cxx [pseudo] Key guards by RuleID, add guards to literals (and 0). 2022-07-21 22:42:31 +02:00
.clang-format [pseudo] Don't clang-format test inputs. NFC 2022-06-09 14:18:30 +02:00
CMakeLists.txt [pseudo] Add fuzzer for the pseudoparser. 2022-05-06 09:22:28 +02:00
check-cxx-bnf.test [pseudo] Update the cxx.bnf path in comments to reflect the new 2022-06-29 15:10:39 +02: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] Implement a guard to determine function declarator. 2022-07-19 09:44:45 +02:00
html-forest.c [pseudo] Add `clang-pseudo -html-forest=<output.html>`, an HTML forest browser 2022-07-19 22:32:11 +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 [pseudo] Move cxx grammar into the cxx/ directory. NFC 2022-06-28 16:02:10 +02: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] Check follow-sets instead of tying reduce actions to lookahead tokens. 2022-06-28 00:36:16 +02:00
lr-build-conflicts.test [pseudo] Check follow-sets instead of tying reduce actions to lookahead tokens. 2022-06-28 00:36:16 +02:00
strip-directives.c [pseudo] Strip directives from a token stream 2022-05-06 12:15:08 +02:00