任务单 #44868

Clang analyze warnings from tolua generated code

开放日期: 2022-06-19 19:24 最后更新: 2022-08-05 13:56

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

We get quite a many clang analyzer warnings from the code generated by tolua. What we can do to reduce the spam, is to fix these issues in our included tolua (and submit those fixes to upstream, too), and use it for clang analyzer runs - or even by default, as it's then going to produce safer code than upstream. (Note: Latest upstream release is about ten years old, and e.g. Debian and derivatives are shipping even older version)

任务单历史 (3/6 Histories)

2022-06-19 19:24 Updated by: cazfi
  • New Ticket "Clang analyze warnings from tolua generated code" created
2022-07-21 15:48 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
2022-07-25 19:49 Updated by: cazfi
2022-07-30 11:57 Updated by: cazfi
评论

Some warnings seem to still be coming from the generated code, even with the patch from here. Regardless, plan to go forward with what we already have, as it's at least clear improvement. Will leave rest to a future ticket.

2022-08-05 13:56 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名