File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lldb/source/Plugins/SymbolFile/DWARF Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1701,9 +1701,10 @@ void DWARFASTParserClang::GetUniqueTypeNameAndDeclaration(
17011701 // only one thing can exist at a given decl context. We ignore the
17021702 // file and line that things are declared on.
17031703 // FIXME: Rust pretends to be C++ for now, so use C++ name qualification rules
1704- auto isCPlusPlusOrSimilar = Language::LanguageIsCPlusPlus (language) ||
1705- language == lldb::eLanguageTypeRust;
1706- if (!die.IsValid () || !isCPlusPlusOrSimilar || unique_typename.IsEmpty ())
1704+ if (!Language::LanguageIsCPlusPlus (language) &&
1705+ language != lldb::eLanguageTypeRust)
1706+ return ;
1707+ if (!die.IsValid () || unique_typename.IsEmpty ())
17071708 return ;
17081709 decl_declaration.Clear ();
17091710 std::string qualified_name;
You can’t perform that action at this time.
0 commit comments