llvm-project/clang-tools-extra/pseudo/lib
Haojian Wu d489b3807f [pseudo] Implement a guard to determine function declarator.
This eliminates some simple-declaration/function-definition false
parses.

- implement a function to determine whether a declarator ForestNode is a
  function declarator;
- extend the standard declarator to two guarded function-declarator and
  non-function-declarator nonterminals;

Differential Revision: https://reviews.llvm.org/D129222
2022-07-19 09:44:45 +02:00
..
cli [pseudo] Define recovery strategy as grammar extension. 2022-07-06 15:03:38 +02:00
cxx [pseudo] Implement a guard to determine function declarator. 2022-07-19 09:44:45 +02:00
grammar [pseudo] Generate an enum type for identifying grammar rules. 2022-07-15 15:09: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 [clang, clang-tools-extra] Use has_value instead of hasValue (NFC) 2022-07-12 22:47:41 -07: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