Skip to content

Commit a83a1aa

Browse files
author
Nikita Kraiouchkine
authored
Update MistypedFunctionArguments.qll
1 parent 097e687 commit a83a1aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/common/src/codingstandards/cpp/MistypedFunctionArguments.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ predicate complexArgumentPassedToRealParameter(FunctionCall fc, Function f, Para
108108
p = f.getAParameter() and
109109
// Some implementations implicitly convert complex floating point values by
110110
// extracting the real part of the complex number (in-place or via a creal() call).
111-
// This predicate includes those results unless the value is explicitly converted.
111+
// This predicate holds in those cases unless the value is explicitly converted.
112112
not isTypeInComplexDomain(p.getType()) and
113113
isTypeInComplexDomain(fc.getArgument(p.getIndex()).getExplicitlyConverted().getType())
114114
}

0 commit comments

Comments
 (0)