llvm-project/clang-tools-extra/pseudo/unittests
Sam McCall 56c54cf66b [pseudo] Placeholder disambiguation strategy: always choose second
Mostly mechanics here. Interesting decisions:
 - apply disambiguation in-place instead of copying the forest
   debatable, but even the final tree size is significant
 - split decide/apply into different functions - this allows the hard part
   (decide) to be tested non-destructively and combined with HTML forest easily
 - add non-const accessors to forest to enable apply
 - unit tests but no lit tests: my plan is to test actual C++ disambiguation
   heuristics with lit, generic disambiguation mechanics without the C++ grammar

Differential Revision: https://reviews.llvm.org/D132487
2022-08-26 13:16:09 +02:00
..
BracketTest.cpp [pseudo] (trivial) bracket-matching 2022-05-24 15:13:36 +02:00
CMakeLists.txt [pseudo] Placeholder disambiguation strategy: always choose second 2022-08-26 13:16:09 +02:00
CXXTest.cpp [pseudo] Reorganize CXX.h enums 2022-07-27 09:03:29 +02:00
DirectiveTreeTest.cpp [pseudo] Use C++17 variant to simplify the DirectiveTree::Chunk class, NFC. 2022-08-11 14:27:38 +02:00
DisambiguateTest.cpp [pseudo] Placeholder disambiguation strategy: always choose second 2022-08-26 13:16:09 +02:00
ForestTest.cpp [pseudo] Start rules are `_ := start-symbol EOF`, improve recovery. 2022-08-19 16:49:37 +02:00
GLRTest.cpp [pseudo] Fix HeadsPartition is not initialized correctly. 2022-08-23 15:08:33 +02:00
GrammarTest.cpp [pseudo] Fix a bug in checking the duplicated grammar rules. 2022-08-11 13:16:01 +02:00
LRTableTest.cpp [pseudo] Eliminate LRTable::Action. NFC 2022-07-05 14:35:41 +02:00
TokenTest.cpp Use pseudo parser for folding ranges 2022-07-18 11:35:34 +02:00