summaryrefslogtreecommitdiff
path: root/source/compiler-core/slang-gcc-compiler-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-gcc-compiler-util.cpp')
-rw-r--r--source/compiler-core/slang-gcc-compiler-util.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/compiler-core/slang-gcc-compiler-util.cpp b/source/compiler-core/slang-gcc-compiler-util.cpp
index 67ee6f8b3..f12f44338 100644
--- a/source/compiler-core/slang-gcc-compiler-util.cpp
+++ b/source/compiler-core/slang-gcc-compiler-util.cpp
@@ -438,7 +438,8 @@ static SlangResult _parseGCCFamilyLine(
prevLineResult = lineRes;
break;
}
- default: return SLANG_FAIL;
+ default:
+ return SLANG_FAIL;
}
}
@@ -553,7 +554,8 @@ static SlangResult _parseGCCFamilyLine(
cmdLine.addArg("-O4");
break;
}
- default: break;
+ default:
+ break;
}
if (options.debugInfoType != DebugInfoType::None)
@@ -568,7 +570,8 @@ static SlangResult _parseGCCFamilyLine(
switch (options.floatingPointMode)
{
- case FloatingPointMode::Default: break;
+ case FloatingPointMode::Default:
+ break;
case FloatingPointMode::Precise:
{
// cmdLine.addArg("-fno-unsafe-math-optimizations");
@@ -619,7 +622,8 @@ static SlangResult _parseGCCFamilyLine(
cmdLine.addArg("-c");
break;
}
- default: break;
+ default:
+ break;
}
// Add defines