summaryrefslogtreecommitdiffstats
path: root/source/core/slang-semantic-version.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-semantic-version.cpp')
-rw-r--r--source/core/slang-semantic-version.cpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/source/core/slang-semantic-version.cpp b/source/core/slang-semantic-version.cpp
index ab7b5007b..b05eb503f 100644
--- a/source/core/slang-semantic-version.cpp
+++ b/source/core/slang-semantic-version.cpp
@@ -152,7 +152,8 @@ void SemanticVersion::append(StringBuilder& buf) const
matchVersion.m_version.m_patch + 1);
break;
}
- default: break;
+ default:
+ break;
}
List<SemanticVersion> sortedVersions;
@@ -198,9 +199,15 @@ void MatchSemanticVersion::append(StringBuilder& buf) const
switch (m_kind)
{
default:
- case Kind::Unknown: buf << "unknown"; break;
- case Kind::Past: buf << "past"; break;
- case Kind::Future: buf << "future"; break;
+ case Kind::Unknown:
+ buf << "unknown";
+ break;
+ case Kind::Past:
+ buf << "past";
+ break;
+ case Kind::Future:
+ buf << "future";
+ break;
case Kind::Major:
{
buf << m_version.m_major;