A7-1-2
: constexpr
in templates
#609
Labels
Difficulty-High
A false positive or false negative report which is expected to take 1+ week effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Low
Standard-AUTOSAR
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
A7-1-2
Description
We should only report a variable in a template as a candidate for adding
constexpr
if all visible instantiations could useconstexpr
.Example
The text was updated successfully, but these errors were encountered: