Skip to content

Commit

Permalink
Typo (NFC)
Browse files Browse the repository at this point in the history
llvm-svn: 373353
  • Loading branch information
adrian-prantl committed Oct 1, 2019
1 parent 771d464 commit c7f19ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Expand Up @@ -148,16 +148,16 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWO(const DWARFDIE &die, Log *log) {
die.GetDeclContext(decl_context);
TypeMap dwo_types;

// The type in the Clang module must have the same langage as the current CU.
// The type in the Clang module must have the same language as the current CU.
LanguageSet languages;
languages.Insert(die.GetCU()->GetLanguageType());
dwo_module_sp->GetSymbolFile()->FindTypes(decl_context, languages, dwo_types);
if (dwo_types.GetSize()) {
if (!IsClangModuleFwdDecl(die))
return TypeSP();

// Since this this type is defined in one of the Clang modules imported by
// this symbol file, search all of them.
// 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();
for (const auto &name_module : sym_file.getExternalTypeModules()) {
if (!name_module.second)
Expand Down

0 comments on commit c7f19ca

Please sign in to comment.