File tree Expand file tree Collapse file tree 5 files changed +15
-20
lines changed
cpp/ql/src/semmle/code/cpp/ir/implementation
csharp/ql/src/experimental/ir/implementation Expand file tree Collapse file tree 5 files changed +15
-20
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
94
94
95
95
private string getConflationPrefix ( ) {
96
96
shouldGenerateDumpStrings ( ) and
97
- if isResultConflated ( )
98
- then result = "%"
99
- else result = ""
97
+ if isResultConflated ( ) then result = "%" else result = ""
100
98
}
101
99
102
100
/**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150
148
*/
151
149
final string getResultString ( ) {
152
150
shouldGenerateDumpStrings ( ) and
153
- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151
+ result =
152
+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154
153
}
155
154
156
155
/**
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
94
94
95
95
private string getConflationPrefix ( ) {
96
96
shouldGenerateDumpStrings ( ) and
97
- if isResultConflated ( )
98
- then result = "%"
99
- else result = ""
97
+ if isResultConflated ( ) then result = "%" else result = ""
100
98
}
101
99
102
100
/**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150
148
*/
151
149
final string getResultString ( ) {
152
150
shouldGenerateDumpStrings ( ) and
153
- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151
+ result =
152
+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154
153
}
155
154
156
155
/**
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
94
94
95
95
private string getConflationPrefix ( ) {
96
96
shouldGenerateDumpStrings ( ) and
97
- if isResultConflated ( )
98
- then result = "%"
99
- else result = ""
97
+ if isResultConflated ( ) then result = "%" else result = ""
100
98
}
101
99
102
100
/**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150
148
*/
151
149
final string getResultString ( ) {
152
150
shouldGenerateDumpStrings ( ) and
153
- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151
+ result =
152
+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154
153
}
155
154
156
155
/**
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
94
94
95
95
private string getConflationPrefix ( ) {
96
96
shouldGenerateDumpStrings ( ) and
97
- if isResultConflated ( )
98
- then result = "%"
99
- else result = ""
97
+ if isResultConflated ( ) then result = "%" else result = ""
100
98
}
101
99
102
100
/**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150
148
*/
151
149
final string getResultString ( ) {
152
150
shouldGenerateDumpStrings ( ) and
153
- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151
+ result =
152
+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154
153
}
155
154
156
155
/**
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
94
94
95
95
private string getConflationPrefix ( ) {
96
96
shouldGenerateDumpStrings ( ) and
97
- if isResultConflated ( )
98
- then result = "%"
99
- else result = ""
97
+ if isResultConflated ( ) then result = "%" else result = ""
100
98
}
101
99
102
100
/**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150
148
*/
151
149
final string getResultString ( ) {
152
150
shouldGenerateDumpStrings ( ) and
153
- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151
+ result =
152
+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154
153
}
155
154
156
155
/**
You can’t perform that action at this time.
0 commit comments