Update FindIncorrectlyUsedExceptions.ql

This commit is contained in:
ihsinme
2021-11-19 16:59:00 +03:00
committed by GitHub
parent 418adb824c
commit 6d27585b92

View File

@@ -39,5 +39,6 @@ where
fc.getTargetType().(Class).getABaseClass+().hasGlobalOrStdName("CException")
) and
fc instanceof ExprInVoidContext and
not fc.isInMacroExpansion() and
msg = "This object does not generate an exception."
select fc, msg