mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
C++: autoformat
This commit is contained in:
@@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
|
||||
|
||||
private string getConflationPrefix() {
|
||||
shouldGenerateDumpStrings() and
|
||||
if isResultConflated()
|
||||
then result = "%"
|
||||
else result = ""
|
||||
if isResultConflated() then result = "%" else result = ""
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
|
||||
*/
|
||||
final string getResultString() {
|
||||
shouldGenerateDumpStrings() and
|
||||
result = getConflationPrefix() + getResultId() + "(" + getResultLanguageType().getDumpString() + ")"
|
||||
result =
|
||||
getConflationPrefix() + getResultId() + "(" + getResultLanguageType().getDumpString() + ")"
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
|
||||
|
||||
private string getConflationPrefix() {
|
||||
shouldGenerateDumpStrings() and
|
||||
if isResultConflated()
|
||||
then result = "%"
|
||||
else result = ""
|
||||
if isResultConflated() then result = "%" else result = ""
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
|
||||
*/
|
||||
final string getResultString() {
|
||||
shouldGenerateDumpStrings() and
|
||||
result = getConflationPrefix() + getResultId() + "(" + getResultLanguageType().getDumpString() + ")"
|
||||
result =
|
||||
getConflationPrefix() + getResultId() + "(" + getResultLanguageType().getDumpString() + ")"
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -94,9 +94,7 @@ class Instruction extends Construction::TStageInstruction {
|
||||
|
||||
private string getConflationPrefix() {
|
||||
shouldGenerateDumpStrings() and
|
||||
if isResultConflated()
|
||||
then result = "%"
|
||||
else result = ""
|
||||
if isResultConflated() then result = "%" else result = ""
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -150,7 +148,8 @@ class Instruction extends Construction::TStageInstruction {
|
||||
*/
|
||||
final string getResultString() {
|
||||
shouldGenerateDumpStrings() and
|
||||
result = getConflationPrefix() + getResultId() + "(" + getResultLanguageType().getDumpString() + ")"
|
||||
result =
|
||||
getConflationPrefix() + getResultId() + "(" + getResultLanguageType().getDumpString() + ")"
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user