mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Minor changes
This commit is contained in:
@@ -426,7 +426,7 @@ static RecursiveCoroutine<bool> verifyImpl(VerifyHelper &VH,
|
||||
revng_assert(T.Kind() == model::TypeDefinitionKind::EnumDefinition);
|
||||
|
||||
if (T.Entries().empty())
|
||||
rc_return VH.fail("Every enum definition must have at least one entry.");
|
||||
rc_return VH.fail("Every enum definition must have at least one entry.", T);
|
||||
|
||||
if (T.UnderlyingType().isEmpty())
|
||||
rc_return VH.fail("Every enum must have an underlying type.", T);
|
||||
|
||||
Reference in New Issue
Block a user