llvm-project/clang-tools-extra/pseudo/lib
Haojian Wu 2a88fb2ecb [pseudo] Eliminate the dangling-else syntax ambiguity.
- the grammar ambiguity is eliminated by a guard;
- modify the guard function signatures, now all parameters are folded in
  to a single object, avoid a long parameter list (as we will add more
  parameters in the near future);

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D130160
2022-07-22 09:13:09 +02:00
..
cli [pseudo] Define recovery strategy as grammar extension. 2022-07-06 15:03:38 +02:00
cxx [pseudo] Eliminate the dangling-else syntax ambiguity. 2022-07-22 09:13:09 +02:00
grammar [pseudo] Key guards by RuleID, add guards to literals (and 0). 2022-07-21 22:42:31 +02:00
Bracket.cpp [pseudo] (trivial) bracket-matching 2022-05-24 15:13:36 +02:00
CMakeLists.txt Use pseudo parser for folding ranges 2022-07-18 11:35:34 +02:00
DirectiveTree.cpp Don't use Optional::hasValue (NFC) 2022-06-20 11:33:56 -07:00
Forest.cpp [pseudo] Add ForestNode descendants iterator, print ambiguous/opaque node stats. 2022-06-30 21:20:55 +02:00
GLR.cpp [pseudo] Eliminate the dangling-else syntax ambiguity. 2022-07-22 09:13:09 +02:00
Lex.cpp Use pseudo parser for folding ranges 2022-07-18 11:35:34 +02:00
Token.cpp [pseudo] Share the underly payload when stripping comments for a token stream 2022-07-15 15:20:48 +02:00