[PATCH] D126682: [WIP][Interpreter] Implement undo command

2022-05-31 Thread Jun Zhang via Phabricator via cfe-commits
junaire updated this revision to Diff 433038. junaire added a comment. - Add prefix for meta commands - Add more tests Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126682/new/ https://reviews.llvm.org/D126682 Files: clang/include/clang/Interpre

[PATCH] D126682: [WIP][Interpreter] Implement undo command

2022-05-31 Thread Jun Zhang via Phabricator via cfe-commits
junaire updated this revision to Diff 433031. junaire added a comment. Fix the build Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126682/new/ https://reviews.llvm.org/D126682 Files: clang/include/clang/Interpreter/Interpreter.h clang/lib/Inte

[PATCH] D126682: [WIP][Interpreter] Implement undo command

2022-05-31 Thread Jun Zhang via Phabricator via cfe-commits
junaire updated this revision to Diff 433030. junaire added a comment. Pass PTU by reference as it can't be NULL, this makes our code safer. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126682/new/ https://reviews.llvm.org/D126682 Files: clang/

[PATCH] D126682: [WIP][Interpreter] Implement undo command

2022-05-31 Thread Jun Zhang via Phabricator via cfe-commits
junaire updated this revision to Diff 433029. junaire added a comment. - Support undo N times - Add a comment Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126682/new/ https://reviews.llvm.org/D126682 Files: clang/include/clang/Interpreter/Inter

[PATCH] D126682: [WIP][Interpreter] Implement undo command

2022-05-30 Thread Jun Zhang via Phabricator via cfe-commits
junaire updated this revision to Diff 433011. junaire added a comment. Remove a NFC change to make review easier Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126682/new/ https://reviews.llvm.org/D126682 Files: clang/include/clang/Interpreter/In

[PATCH] D126682: [WIP][Interpreter] Implement undo command

2022-05-30 Thread Jun Zhang via Phabricator via cfe-commits
junaire updated this revision to Diff 433009. junaire added a comment. Improve code a little bit Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126682/new/ https://reviews.llvm.org/D126682 Files: clang/include/clang/Interpreter/Interpreter.h cl

[PATCH] D126682: [WIP][Interpreter] Implement undo command

2022-05-30 Thread Jun Zhang via Phabricator via cfe-commits
junaire updated this revision to Diff 433008. junaire added a comment. Also remove PTU in PTU list Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126682/new/ https://reviews.llvm.org/D126682 Files: clang/include/clang/Interpreter/Interpreter.h

[PATCH] D126682: [WIP][Interpreter] Implement undo command

2022-05-30 Thread Jun Zhang via Phabricator via cfe-commits
junaire created this revision. junaire added a reviewer: v.g.vassilev. Herald added a project: All. junaire requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Signed-off-by: Jun Zhang Repository: rG LLVM Github Monorepo https://reviews.l