Enter-tainer / cxx2flow

将 C/C++ 代码转换成流程图 / Turn your C/C++ code into flowchart
MIT License
711 stars 60 forks source link

求大神支持trycatch和lambda #49

Open VanillaJelly opened 2 months ago

VanillaJelly commented 2 months ago

求大神支持trycatch和lambda

Enter-tainer commented 2 months ago

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

VanillaJelly commented 2 months ago

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

VanillaJelly commented 2 months ago

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