mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 18:31:53 +00:00
Guard AddCXXSynthetic with LLDB_DISABLE_PYTHON
The function only avaibleble when python is enabled. Guard the new call in the Java plugin with LLDB_DISABLE_PYTHON until we can change AddCXXSynthetic to be available in all case to get the build bots green again. llvm-svn: 268626
This commit is contained in:
1 parent
cff1935330
commit
21c3fdeda8
1 file changed
+2
@@ -101,9 +101,11 @@ JavaLanguage::GetFormatters()
|
||||
g_category->GetRegexTypeSummariesContainer()->Add(RegularExpressionSP(new RegularExpression(array_regexp)),
|
||||
array_summary_sp);
|
||||
|
||||
#ifndef LLDB_DISABLE_PYTHON
|
||||
AddCXXSynthetic(g_category, lldb_private::formatters::JavaArraySyntheticFrontEndCreator,
|
||||
"Java array synthetic children", ConstString(array_regexp),
|
||||
SyntheticChildren::Flags().SetCascades(true), true);
|
||||
#endif
|
||||
}
|
||||
});
|
||||
return g_category;
|
||||
|
||||
Reference in new issue
Block a user