mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
C++: add upgrade and downgrade scripts
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class LambdaExpr extends @lambdaexpr {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from LambdaExpr lambda, string default_capture, boolean has_explicit_return_type
|
||||
where lambdas(lambda, default_capture, has_explicit_return_type)
|
||||
select lambda, default_capture, has_explicit_return_type, false
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
||||
description: add predicates `hasParameterList` and `emptyParameterListIsExplicit` to capture whether a lambda has an explicitly specified parameter list and whether that list is empty, respectively.Add commentMore actionsAdd commentMore actions
|
||||
compatibility: backwards
|
||||
lambdas.rel: run lambdas.qlo
|
||||
Reference in New Issue
Block a user