LGTM.com - false positive: 'Function create should return a value of type fix but does not return a value here'
Đang mở
C++
false-positive
- Ngôn ngữ chính
- CodeQL
- Star
- 10.1k
- Fork
- 2.1k
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 141
Mô tả
The message says '_Function create should return a value of type fix but does not return a value here_' for a function with one return statement. The problem is probably related to the `constexpr` specifier.
[**URL to the alert on the project page on LGTM.com**](https://lgtm.com/projects/g/oknenavin/cxon/snapshot/8ba66ffc4cf9241e1d11e76a8e66201242e9609b/files/src/cxon/lang/common/allocator.hxx?sort=name&dir=ASC&mode=heatmap#x2a70d465bca48255:1)
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.