llvm-project/clang-tools-extra/pseudo/tool
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
..
CMakeLists.txt [pseudo] Add `clang-pseudo -html-forest=<output.html>`, an HTML forest browser 2022-07-19 22:32:11 +02:00
ClangPseudo.cpp [pseudo] Placeholder disambiguation strategy: always choose second 2022-08-26 13:16:09 +02:00
HTMLForest.cpp [pseudo] Placeholder disambiguation strategy: always choose second 2022-08-26 13:16:09 +02:00
HTMLForest.css [pseudo] Add `clang-pseudo -html-forest=<output.html>`, an HTML forest browser 2022-07-19 22:32:11 +02:00
HTMLForest.html [pseudo] Add `clang-pseudo -html-forest=<output.html>`, an HTML forest browser 2022-07-19 22:32:11 +02:00
HTMLForest.js [pseudo] Add `clang-pseudo -html-forest=<output.html>`, an HTML forest browser 2022-07-19 22:32:11 +02:00
bundle_resources.py [pseudo] Add `clang-pseudo -html-forest=<output.html>`, an HTML forest browser 2022-07-19 22:32:11 +02:00