Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求大神支持trycatch和lambda #49

Open
VanillaJelly opened this issue Jul 13, 2024 · 3 comments
Open

求大神支持trycatch和lambda #49

VanillaJelly opened this issue Jul 13, 2024 · 3 comments

Comments

@VanillaJelly
Copy link

求大神支持trycatch和lambda

@Enter-tainer
Copy link
Owner

这个的问题是,lambda和try catch用传统流程图是没法表达的,所以不太能支持

@VanillaJelly
Copy link
Author

大神,能帮忙看一下我的代码哪里有问题
cxx2flow.zip
我仿照switch写了一个trycatch,但是生成的是下面这样的,
test_try
我期望是下面这样的,
test_try

@VanillaJelly
Copy link
Author

上面的图片我希望,try终止到return0; 其他catch最终都到return 0;
但是我写的代码确是try结束到catch的body,catch body结束到另外一个catch body,最后一个catch body结束才到return 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants