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 {
9494
9595 private string getConflationPrefix ( ) {
9696 shouldGenerateDumpStrings ( ) and
97- if isResultConflated ( )
98- then result = "%"
99- else result = ""
97+ if isResultConflated ( ) then result = "%" else result = ""
10098 }
10199
102100 /**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150148 */
151149 final string getResultString ( ) {
152150 shouldGenerateDumpStrings ( ) and
153- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151+ result =
152+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154153 }
155154
156155 /**
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
9494
9595 private string getConflationPrefix ( ) {
9696 shouldGenerateDumpStrings ( ) and
97- if isResultConflated ( )
98- then result = "%"
99- else result = ""
97+ if isResultConflated ( ) then result = "%" else result = ""
10098 }
10199
102100 /**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150148 */
151149 final string getResultString ( ) {
152150 shouldGenerateDumpStrings ( ) and
153- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151+ result =
152+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154153 }
155154
156155 /**
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
9494
9595 private string getConflationPrefix ( ) {
9696 shouldGenerateDumpStrings ( ) and
97- if isResultConflated ( )
98- then result = "%"
99- else result = ""
97+ if isResultConflated ( ) then result = "%" else result = ""
10098 }
10199
102100 /**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150148 */
151149 final string getResultString ( ) {
152150 shouldGenerateDumpStrings ( ) and
153- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151+ result =
152+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154153 }
155154
156155 /**
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
9494
9595 private string getConflationPrefix ( ) {
9696 shouldGenerateDumpStrings ( ) and
97- if isResultConflated ( )
98- then result = "%"
99- else result = ""
97+ if isResultConflated ( ) then result = "%" else result = ""
10098 }
10199
102100 /**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150148 */
151149 final string getResultString ( ) {
152150 shouldGenerateDumpStrings ( ) and
153- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151+ result =
152+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154153 }
155154
156155 /**
Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
9494
9595 private string getConflationPrefix ( ) {
9696 shouldGenerateDumpStrings ( ) and
97- if isResultConflated ( )
98- then result = "%"
99- else result = ""
97+ if isResultConflated ( ) then result = "%" else result = ""
10098 }
10199
102100 /**
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
150148 */
151149 final string getResultString ( ) {
152150 shouldGenerateDumpStrings ( ) and
153- result = getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
151+ result =
152+ getConflationPrefix ( ) + getResultId ( ) + "(" + getResultLanguageType ( ) .getDumpString ( ) + ")"
154153 }
155154
156155 /**
You can’t perform that action at this time.
0 commit comments