Skip to content

Commit 9072f01

Browse files
committed
Remove redundant check. (NFC)
1 parent 7f9d36e commit 9072f01

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,6 @@ TypeSP DWARFASTParserClang::ParseTypeFromClangModule(const DWARFDIE &die,
188188
dwo_module_sp->GetSymbolFile()->FindTypes(decl_context, languages,
189189
searched_symbol_files, pcm_types);
190190
if (pcm_types.Empty()) {
191-
if (!IsClangModuleFwdDecl(die))
192-
return TypeSP();
193-
194191
// Since this type is defined in one of the Clang modules imported
195192
// by this symbol file, search all of them.
196193
auto &sym_file = die.GetCU()->GetSymbolFileDWARF();

0 commit comments

Comments
 (0)