We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8c0dd commit b2db852Copy full SHA for b2db852
lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp
@@ -3077,6 +3077,8 @@ CompilerType TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(
3077
assert(Equivalent(child_bitfield_bit_size, ast_child_bitfield_bit_size));
3078
assert(Equivalent(child_is_base_class, ast_child_is_base_class));
3079
assert(Equivalent(child_is_deref_of_parent, ast_child_is_deref_of_parent));
3080
+ // There are cases where only the runtime correctly detects an indirect enum.
3081
+ ast_language_flags |= language_flags & LanguageFlags::eIsIndirectEnumCase;
3082
assert(Equivalent(language_flags, ast_language_flags));
3083
});
3084
#endif
0 commit comments