File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
lldb/source/Plugins/TypeSystem/Swift Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -2842,6 +2842,7 @@ CompilerType TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(
2842
2842
auto *runtime = SwiftLanguageRuntime::Get (exe_scope->CalculateProcess ());
2843
2843
if (!runtime)
2844
2844
return impl ();
2845
+ #ifndef NDEBUG
2845
2846
// FIXME:
2846
2847
// No point comparing the results if the reflection data has more
2847
2848
// information. There's a nasty chicken & egg problem buried here:
@@ -2851,7 +2852,6 @@ CompilerType TypeSystemSwiftTypeRef::GetChildCompilerTypeAtIndex(
2851
2852
if (get_ast_num_children () <
2852
2853
runtime->GetNumChildren ({this , type}, valobj).getValueOr (0 ))
2853
2854
return impl ();
2854
- #ifndef NDEBUG
2855
2855
if (ShouldSkipValidation (type))
2856
2856
return impl ();
2857
2857
std::string ast_child_name;
You can’t perform that action at this time.
0 commit comments