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();
 


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to