mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
split out comment over multiple lines
This commit is contained in:
@@ -71,7 +71,9 @@ predicate localExceptionStep(DataFlow::Node pred, DataFlow::Node succ) {
|
||||
*/
|
||||
predicate localExceptionStepWithAsyncFlag(DataFlow::Node pred, DataFlow::Node succ, boolean async) {
|
||||
exists(DataFlow::Node target | target = getThrowTarget(pred) |
|
||||
async = false and // this also covers generators - as the behavior of exceptions is close enough to the behavior of ordinary functions when it comes to exceptions (assuming that the iterator does not cross function boundaries).
|
||||
// this also covers generators - as the behavior of exceptions is close enough to the behavior of ordinary
|
||||
// functions when it comes to exceptions (assuming that the iterator does not cross function boundaries).
|
||||
async = false and
|
||||
succ = target and
|
||||
not succ = any(DataFlow::FunctionNode f | f.getFunction().isAsync()).getExceptionalReturn()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user