summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-source-embed-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-source-embed-util.cpp')
-rw-r--r--source/compiler-core/slang-source-embed-util.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/compiler-core/slang-source-embed-util.cpp b/source/compiler-core/slang-source-embed-util.cpp
index a4d3bf629..cfb83ed57 100644
--- a/source/compiler-core/slang-source-embed-util.cpp
+++ b/source/compiler-core/slang-source-embed-util.cpp
@@ -184,7 +184,8 @@ static SlangResult _append(
// literalSuffix = toSlice("ULL");
break;
}
- default: return SLANG_FAIL;
+ default:
+ return SLANG_FAIL;
}
// Output the variable
@@ -247,7 +248,9 @@ static SlangResult _append(
switch (bytesPerElement)
{
- case 1: _appendHex<uint8_t>(lineBytes, workView, dstChars, bytesForLine, buf); break;
+ case 1:
+ _appendHex<uint8_t>(lineBytes, workView, dstChars, bytesForLine, buf);
+ break;
case 2:
_appendHex<uint16_t>((const uint16_t*)lineBytes, workView, dstChars, bytesForLine, buf);
break;