github / github/codeql

LGTM.com - false positive: The 'const' modifier has no effect on return types. The 'const' modifying the return type can be removed.

Đang mở
#8,488 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
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 is about `const` modifier misuse while in fact it's a `constexpr`.

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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.