We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668e518 commit 3575db1Copy full SHA for 3575db1
cpp/misra/src/rules/RULE-7-0-2/NoImplicitBoolConversion.ql
@@ -90,7 +90,7 @@ where
90
// Exception 2: Contextual conversion from class with explicit operator bool is allowed
91
not (
92
op.isExplicit() and
93
- isInContextualBoolContext(conversionCall)
+ isInContextualBoolContext(conversionCall.getUnconverted())
94
) and
95
reason =
96
"Conversion operator call from '" + conversionCall.getQualifier().getType().toString() +
0 commit comments