[Lldb-commits] [PATCH] D82559: [LLDB][Clang Integration][NFC] Remove redundant condition
Balogh, Ádám via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 1 00:29:55 PDT 2020
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82559.274696.patch
Type: text/x-patch
Size: 663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200701/a4faa609/attachment-0001.bin>
More information about the lldb-commits
mailing list