File tree Expand file tree Collapse file tree 6 files changed +48
-60
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal
go/ql/lib/semmle/go/dataflow/internal
java/ql/lib/semmle/code/java/dataflow/internal
python/ql/lib/semmle/python/dataflow/new/internal
ruby/ql/lib/codeql/ruby/dataflow/internal
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 6 files changed +48
-60
lines changed Original file line number Diff line number Diff line change @@ -170,16 +170,14 @@ module Public {
170170 private string getComponent ( SummaryComponent sc ) {
171171 result = getComponentSpecific ( sc )
172172 or
173- (
174- exists ( ArgumentPosition pos |
175- sc = TParameterSummaryComponent ( pos ) and
176- result = "Parameter[" + getArgumentPosition ( pos ) + "]"
177- )
178- or
179- exists ( ParameterPosition pos |
180- sc = TArgumentSummaryComponent ( pos ) and
181- result = "Argument[" + getParameterPosition ( pos ) + "]"
182- )
173+ exists ( ArgumentPosition pos |
174+ sc = TParameterSummaryComponent ( pos ) and
175+ result = "Parameter[" + getArgumentPosition ( pos ) + "]"
176+ )
177+ or
178+ exists ( ParameterPosition pos |
179+ sc = TArgumentSummaryComponent ( pos ) and
180+ result = "Argument[" + getParameterPosition ( pos ) + "]"
183181 )
184182 or
185183 sc = TReturnSummaryComponent ( getReturnValueKind ( ) ) and result = "ReturnValue"
Original file line number Diff line number Diff line change @@ -170,16 +170,14 @@ module Public {
170170 private string getComponent ( SummaryComponent sc ) {
171171 result = getComponentSpecific ( sc )
172172 or
173- (
174- exists ( ArgumentPosition pos |
175- sc = TParameterSummaryComponent ( pos ) and
176- result = "Parameter[" + getArgumentPosition ( pos ) + "]"
177- )
178- or
179- exists ( ParameterPosition pos |
180- sc = TArgumentSummaryComponent ( pos ) and
181- result = "Argument[" + getParameterPosition ( pos ) + "]"
182- )
173+ exists ( ArgumentPosition pos |
174+ sc = TParameterSummaryComponent ( pos ) and
175+ result = "Parameter[" + getArgumentPosition ( pos ) + "]"
176+ )
177+ or
178+ exists ( ParameterPosition pos |
179+ sc = TArgumentSummaryComponent ( pos ) and
180+ result = "Argument[" + getParameterPosition ( pos ) + "]"
183181 )
184182 or
185183 sc = TReturnSummaryComponent ( getReturnValueKind ( ) ) and result = "ReturnValue"
Original file line number Diff line number Diff line change @@ -170,16 +170,14 @@ module Public {
170170 private string getComponent ( SummaryComponent sc ) {
171171 result = getComponentSpecific ( sc )
172172 or
173- (
174- exists ( ArgumentPosition pos |
175- sc = TParameterSummaryComponent ( pos ) and
176- result = "Parameter[" + getArgumentPosition ( pos ) + "]"
177- )
178- or
179- exists ( ParameterPosition pos |
180- sc = TArgumentSummaryComponent ( pos ) and
181- result = "Argument[" + getParameterPosition ( pos ) + "]"
182- )
173+ exists ( ArgumentPosition pos |
174+ sc = TParameterSummaryComponent ( pos ) and
175+ result = "Parameter[" + getArgumentPosition ( pos ) + "]"
176+ )
177+ or
178+ exists ( ParameterPosition pos |
179+ sc = TArgumentSummaryComponent ( pos ) and
180+ result = "Argument[" + getParameterPosition ( pos ) + "]"
183181 )
184182 or
185183 sc = TReturnSummaryComponent ( getReturnValueKind ( ) ) and result = "ReturnValue"
Original file line number Diff line number Diff line change @@ -170,16 +170,14 @@ module Public {
170170 private string getComponent ( SummaryComponent sc ) {
171171 result = getComponentSpecific ( sc )
172172 or
173- (
174- exists ( ArgumentPosition pos |
175- sc = TParameterSummaryComponent ( pos ) and
176- result = "Parameter[" + getArgumentPosition ( pos ) + "]"
177- )
178- or
179- exists ( ParameterPosition pos |
180- sc = TArgumentSummaryComponent ( pos ) and
181- result = "Argument[" + getParameterPosition ( pos ) + "]"
182- )
173+ exists ( ArgumentPosition pos |
174+ sc = TParameterSummaryComponent ( pos ) and
175+ result = "Parameter[" + getArgumentPosition ( pos ) + "]"
176+ )
177+ or
178+ exists ( ParameterPosition pos |
179+ sc = TArgumentSummaryComponent ( pos ) and
180+ result = "Argument[" + getParameterPosition ( pos ) + "]"
183181 )
184182 or
185183 sc = TReturnSummaryComponent ( getReturnValueKind ( ) ) and result = "ReturnValue"
Original file line number Diff line number Diff line change @@ -170,16 +170,14 @@ module Public {
170170 private string getComponent ( SummaryComponent sc ) {
171171 result = getComponentSpecific ( sc )
172172 or
173- (
174- exists ( ArgumentPosition pos |
175- sc = TParameterSummaryComponent ( pos ) and
176- result = "Parameter[" + getArgumentPosition ( pos ) + "]"
177- )
178- or
179- exists ( ParameterPosition pos |
180- sc = TArgumentSummaryComponent ( pos ) and
181- result = "Argument[" + getParameterPosition ( pos ) + "]"
182- )
173+ exists ( ArgumentPosition pos |
174+ sc = TParameterSummaryComponent ( pos ) and
175+ result = "Parameter[" + getArgumentPosition ( pos ) + "]"
176+ )
177+ or
178+ exists ( ParameterPosition pos |
179+ sc = TArgumentSummaryComponent ( pos ) and
180+ result = "Argument[" + getParameterPosition ( pos ) + "]"
183181 )
184182 or
185183 sc = TReturnSummaryComponent ( getReturnValueKind ( ) ) and result = "ReturnValue"
Original file line number Diff line number Diff line change @@ -170,16 +170,14 @@ module Public {
170170 private string getComponent ( SummaryComponent sc ) {
171171 result = getComponentSpecific ( sc )
172172 or
173- (
174- exists ( ArgumentPosition pos |
175- sc = TParameterSummaryComponent ( pos ) and
176- result = "Parameter[" + getArgumentPosition ( pos ) + "]"
177- )
178- or
179- exists ( ParameterPosition pos |
180- sc = TArgumentSummaryComponent ( pos ) and
181- result = "Argument[" + getParameterPosition ( pos ) + "]"
182- )
173+ exists ( ArgumentPosition pos |
174+ sc = TParameterSummaryComponent ( pos ) and
175+ result = "Parameter[" + getArgumentPosition ( pos ) + "]"
176+ )
177+ or
178+ exists ( ParameterPosition pos |
179+ sc = TArgumentSummaryComponent ( pos ) and
180+ result = "Argument[" + getParameterPosition ( pos ) + "]"
183181 )
184182 or
185183 sc = TReturnSummaryComponent ( getReturnValueKind ( ) ) and result = "ReturnValue"
You can’t perform that action at this time.
0 commit comments