A7-1-2
: Qualifier cannot be declared constexpr
#85
Labels
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
Standard-AUTOSAR
Affected rules
Description
False positive reported for the following test case. In the example, below,
a712
must beconstexpr
forvalue
to be declaredconstexpr
. However, it is not possible to declare parameters (easily) asconstexpr
. The mitigation for this issue is likely that cases where it is not possible to declare the qualifier asconstexpr
.Example
The text was updated successfully, but these errors were encountered: