This revision was automatically updated to reflect the committed changes. Closed by commit rGff2d09148c91: [LLDB][Clang Integration][NFC] Remove redundant condition (authored by baloghadamsoftware).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D82559/new/ https://reviews.llvm.org/D82559 Files: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp Index: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp =================================================================== --- lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp +++ lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp @@ -1729,10 +1729,8 @@ base_class_end = cxx_record_decl->bases_end(); base_class != base_class_end; ++base_class) { // Skip empty base classes - if (omit_empty_base_classes) { - if (BaseSpecifierIsEmpty(base_class)) - continue; - } + if (BaseSpecifierIsEmpty(base_class)) + continue; ++num_bases; } } else
Index: lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp =================================================================== --- lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp +++ lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp @@ -1729,10 +1729,8 @@ base_class_end = cxx_record_decl->bases_end(); base_class != base_class_end; ++base_class) { // Skip empty base classes - if (omit_empty_base_classes) { - if (BaseSpecifierIsEmpty(base_class)) - continue; - } + if (BaseSpecifierIsEmpty(base_class)) + continue; ++num_bases; } } else
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits