[Lldb-commits] [lldb] r373354 - Fix a condition-flip regression introduced in r373344.

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 1 10:08:44 PDT 2019


Author: adrian
Date: Tue Oct  1 10:08:44 2019
New Revision: 373354

URL: http://llvm.org/viewvc/llvm-project?rev=373354&view=rev
Log:
Fix a condition-flip regression introduced in r373344.

Modified:
    lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp?rev=373354&r1=373353&r2=373354&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp Tue Oct  1 10:08:44 2019
@@ -152,7 +152,7 @@ TypeSP DWARFASTParserClang::ParseTypeFro
   LanguageSet languages;
   languages.Insert(die.GetCU()->GetLanguageType());
   dwo_module_sp->GetSymbolFile()->FindTypes(decl_context, languages, dwo_types);
-  if (dwo_types.GetSize()) {
+  if (dwo_types.Empty()) {
     if (!IsClangModuleFwdDecl(die))
       return TypeSP();
 




More information about the lldb-commits mailing list