mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Minor cleanup and sync files.
This commit is contained in:
@@ -170,16 +170,14 @@ module Public {
|
|||||||
private string getComponent(SummaryComponent sc) {
|
private string getComponent(SummaryComponent sc) {
|
||||||
result = getComponentSpecific(sc)
|
result = getComponentSpecific(sc)
|
||||||
or
|
or
|
||||||
(
|
exists(ArgumentPosition pos |
|
||||||
exists(ArgumentPosition pos |
|
sc = TParameterSummaryComponent(pos) and
|
||||||
sc = TParameterSummaryComponent(pos) and
|
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
||||||
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
)
|
||||||
)
|
or
|
||||||
or
|
exists(ParameterPosition pos |
|
||||||
exists(ParameterPosition pos |
|
sc = TArgumentSummaryComponent(pos) and
|
||||||
sc = TArgumentSummaryComponent(pos) and
|
result = "Argument[" + getParameterPosition(pos) + "]"
|
||||||
result = "Argument[" + getParameterPosition(pos) + "]"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
||||||
|
|||||||
@@ -170,16 +170,14 @@ module Public {
|
|||||||
private string getComponent(SummaryComponent sc) {
|
private string getComponent(SummaryComponent sc) {
|
||||||
result = getComponentSpecific(sc)
|
result = getComponentSpecific(sc)
|
||||||
or
|
or
|
||||||
(
|
exists(ArgumentPosition pos |
|
||||||
exists(ArgumentPosition pos |
|
sc = TParameterSummaryComponent(pos) and
|
||||||
sc = TParameterSummaryComponent(pos) and
|
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
||||||
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
)
|
||||||
)
|
or
|
||||||
or
|
exists(ParameterPosition pos |
|
||||||
exists(ParameterPosition pos |
|
sc = TArgumentSummaryComponent(pos) and
|
||||||
sc = TArgumentSummaryComponent(pos) and
|
result = "Argument[" + getParameterPosition(pos) + "]"
|
||||||
result = "Argument[" + getParameterPosition(pos) + "]"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
||||||
|
|||||||
@@ -170,16 +170,14 @@ module Public {
|
|||||||
private string getComponent(SummaryComponent sc) {
|
private string getComponent(SummaryComponent sc) {
|
||||||
result = getComponentSpecific(sc)
|
result = getComponentSpecific(sc)
|
||||||
or
|
or
|
||||||
(
|
exists(ArgumentPosition pos |
|
||||||
exists(ArgumentPosition pos |
|
sc = TParameterSummaryComponent(pos) and
|
||||||
sc = TParameterSummaryComponent(pos) and
|
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
||||||
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
)
|
||||||
)
|
or
|
||||||
or
|
exists(ParameterPosition pos |
|
||||||
exists(ParameterPosition pos |
|
sc = TArgumentSummaryComponent(pos) and
|
||||||
sc = TArgumentSummaryComponent(pos) and
|
result = "Argument[" + getParameterPosition(pos) + "]"
|
||||||
result = "Argument[" + getParameterPosition(pos) + "]"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
||||||
|
|||||||
@@ -170,16 +170,14 @@ module Public {
|
|||||||
private string getComponent(SummaryComponent sc) {
|
private string getComponent(SummaryComponent sc) {
|
||||||
result = getComponentSpecific(sc)
|
result = getComponentSpecific(sc)
|
||||||
or
|
or
|
||||||
(
|
exists(ArgumentPosition pos |
|
||||||
exists(ArgumentPosition pos |
|
sc = TParameterSummaryComponent(pos) and
|
||||||
sc = TParameterSummaryComponent(pos) and
|
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
||||||
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
)
|
||||||
)
|
or
|
||||||
or
|
exists(ParameterPosition pos |
|
||||||
exists(ParameterPosition pos |
|
sc = TArgumentSummaryComponent(pos) and
|
||||||
sc = TArgumentSummaryComponent(pos) and
|
result = "Argument[" + getParameterPosition(pos) + "]"
|
||||||
result = "Argument[" + getParameterPosition(pos) + "]"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
||||||
|
|||||||
@@ -170,16 +170,14 @@ module Public {
|
|||||||
private string getComponent(SummaryComponent sc) {
|
private string getComponent(SummaryComponent sc) {
|
||||||
result = getComponentSpecific(sc)
|
result = getComponentSpecific(sc)
|
||||||
or
|
or
|
||||||
(
|
exists(ArgumentPosition pos |
|
||||||
exists(ArgumentPosition pos |
|
sc = TParameterSummaryComponent(pos) and
|
||||||
sc = TParameterSummaryComponent(pos) and
|
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
||||||
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
)
|
||||||
)
|
or
|
||||||
or
|
exists(ParameterPosition pos |
|
||||||
exists(ParameterPosition pos |
|
sc = TArgumentSummaryComponent(pos) and
|
||||||
sc = TArgumentSummaryComponent(pos) and
|
result = "Argument[" + getParameterPosition(pos) + "]"
|
||||||
result = "Argument[" + getParameterPosition(pos) + "]"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
||||||
|
|||||||
@@ -170,16 +170,14 @@ module Public {
|
|||||||
private string getComponent(SummaryComponent sc) {
|
private string getComponent(SummaryComponent sc) {
|
||||||
result = getComponentSpecific(sc)
|
result = getComponentSpecific(sc)
|
||||||
or
|
or
|
||||||
(
|
exists(ArgumentPosition pos |
|
||||||
exists(ArgumentPosition pos |
|
sc = TParameterSummaryComponent(pos) and
|
||||||
sc = TParameterSummaryComponent(pos) and
|
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
||||||
result = "Parameter[" + getArgumentPosition(pos) + "]"
|
)
|
||||||
)
|
or
|
||||||
or
|
exists(ParameterPosition pos |
|
||||||
exists(ParameterPosition pos |
|
sc = TArgumentSummaryComponent(pos) and
|
||||||
sc = TArgumentSummaryComponent(pos) and
|
result = "Argument[" + getParameterPosition(pos) + "]"
|
||||||
result = "Argument[" + getParameterPosition(pos) + "]"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
sc = TReturnSummaryComponent(getReturnValueKind()) and result = "ReturnValue"
|
||||||
|
|||||||
Reference in New Issue
Block a user