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.

Open
#8,488 1 comment 0 reactions 0 assignees View on GitHub
C++ false-positive
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.