From 14acc7fcab3f12a3658b9c22d6cbf33f4640acaa Mon Sep 17 00:00:00 2001 From: Asger F Date: Fri, 26 Jun 2026 12:04:32 +0200 Subject: [PATCH] unified: Fixup generated QL The previous commit was generated from a wrong checkout --- unified/ql/lib/codeql/unified/Ast.qll | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/unified/ql/lib/codeql/unified/Ast.qll b/unified/ql/lib/codeql/unified/Ast.qll index de4a71814c1..1c2d5f3dd4a 100644 --- a/unified/ql/lib/codeql/unified/Ast.qll +++ b/unified/ql/lib/codeql/unified/Ast.qll @@ -1654,10 +1654,6 @@ module Unified { i = -1 and name = "getPrecedence" or - result = node.(OrPattern).getModifier(i) and name = "getModifier" - or - result = node.(OrPattern).getPattern(i) and name = "getPattern" - or result = node.(Parameter).getDefault() and i = -1 and name = "getDefault" or result = node.(Parameter).getExternalName() and i = -1 and name = "getExternalName" @@ -1686,7 +1682,7 @@ module Unified { or result = node.(SwitchCase).getModifier(i) and name = "getModifier" or - result = node.(SwitchCase).getPattern() and i = -1 and name = "getPattern" + result = node.(SwitchCase).getPattern(i) and name = "getPattern" or result = node.(SwitchExpr).getCase(i) and name = "getCase" or