Remove redundant check. (NFC)

This commit is contained in:
Adrian Prantl 2019-11-13 14:19:01 -08:00
parent 7f9d36e2db
commit 9072f0103b
1 changed files with 0 additions and 3 deletions

View File

@ -188,9 +188,6 @@ TypeSP DWARFASTParserClang::ParseTypeFromClangModule(const DWARFDIE &die,
dwo_module_sp->GetSymbolFile()->FindTypes(decl_context, languages,
searched_symbol_files, pcm_types);
if (pcm_types.Empty()) {
if (!IsClangModuleFwdDecl(die))
return TypeSP();
// Since this type is defined in one of the Clang modules imported
// by this symbol file, search all of them.
auto &sym_file = die.GetCU()->GetSymbolFileDWARF();