[PATCH] D122139: [pseudo] Introduce parse forest.

2022-08-09 Thread Haojian Wu via Phabricator via cfe-commits
hokein added inline comments. Comment at: clang-tools-extra/pseudo/include/clang-pseudo/Forest.h:158 + size_t nodeCount() const { return NodeCount; } + size_t bytes() const { return Arena.getBytesAllocated() + sizeof(this); } + RKSimon wrote: > @hokein Static a

[PATCH] D122139: [pseudo] Introduce parse forest.

2022-08-09 Thread Simon Pilgrim via Phabricator via cfe-commits
RKSimon added inline comments. Comment at: clang-tools-extra/pseudo/include/clang-pseudo/Forest.h:158 + size_t nodeCount() const { return NodeCount; } + size_t bytes() const { return Arena.getBytesAllocated() + sizeof(this); } + @hokein Static analysis is warni

[PATCH] D122139: [pseudo] Introduce parse forest.

2022-03-24 Thread Haojian Wu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG62d5f254ccd0: [pseudo] Introduce parse forest. (authored by hokein). Changed prior to commit: https://reviews.llvm.org/D122139?vs=417225&id=417911#toc Repository: rG LLVM Github Monorepo CHANGES SIN

[PATCH] D122139: [pseudo] Introduce parse forest.

2022-03-22 Thread Haojian Wu via Phabricator via cfe-commits
hokein updated this revision to Diff 417225. hokein marked 7 inline comments as done. hokein added a comment. address review comments. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122139/new/ https://reviews.llvm.org/D122139 Files: clang-tools-

[PATCH] D122139: [pseudo] Introduce parse forest.

2022-03-21 Thread Sam McCall via Phabricator via cfe-commits
sammccall accepted this revision. sammccall added inline comments. This revision is now accepted and ready to land. Comment at: clang-tools-extra/pseudo/include/clang-pseudo/Forest.h:35 +// trailing array) and have pointers to them. "Children" has different semantics +// dependi

[PATCH] D122139: [pseudo] Introduce parse forest.

2022-03-21 Thread Haojian Wu via Phabricator via cfe-commits
hokein updated this revision to Diff 416936. hokein added a comment. small tweaks. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122139/new/ https://reviews.llvm.org/D122139 Files: clang-tools-extra/pseudo/include/clang-pseudo/Forest.h clang-t

[PATCH] D122139: [pseudo] Introduce parse forest.

2022-03-21 Thread Haojian Wu via Phabricator via cfe-commits
hokein created this revision. hokein added a reviewer: sammccall. Herald added a subscriber: mgorny. Herald added a project: All. hokein requested review of this revision. Herald added a subscriber: alextsao1999. Herald added a project: clang-tools-extra. Parse forest is the output of the GLR pars