mirror of
https://github.com/github/codeql.git
synced 2026-03-31 12:48:17 +02:00
C#: Remove expr_parent_adjusted.
This commit is contained in:
@@ -118,12 +118,6 @@ private module Cached {
|
||||
i = 0
|
||||
}
|
||||
|
||||
/**
|
||||
* Use `expr_parent` instead.
|
||||
*/
|
||||
cached
|
||||
deprecated predicate expr_parent_adjusted(Expr child, int i, ControlFlowElement parent) { none() }
|
||||
|
||||
private Expr getAChildExpr(ExprOrStmtParent parent) {
|
||||
result = parent.getAChildExpr() and
|
||||
not result = parent.(DeclarationWithGetSetAccessors).getExpressionBody()
|
||||
|
||||
Reference in New Issue
Block a user