Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8044fef commit b6e1f35Copy full SHA for b6e1f35
1 file changed
cpp/ql/src/jsf/4.10 Classes/AV Rule 82.ql
@@ -97,6 +97,6 @@ where
97
assignOperatorWithWrongType(op, msg) or
98
assignOperatorWithWrongResult(op, msg)
99
) and
100
- // exclude template classes which may have incomplete function bodies
101
- not op.getDeclaringType() instanceof TemplateClass
+ // exclude code in templates which may be incomplete
+ not op.isFromUninstantiatedTemplate(_)
102
select op, msg
0 commit comments