C++: autoformat

This commit is contained in:
Robert Marsh
2020-11-18 11:02:58 -08:00
parent 693626e460
commit 5753a2d401
5 changed files with 15 additions and 20 deletions

View File

@@ -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() + ")"
}
/**

View File

@@ -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() + ")"
}
/**

View File

@@ -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() + ")"
}
/**