projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0200626
)
Simplify condition (NFC)
author
Adrian Prantl
<aprantl@apple.com>
Tue, 1 Oct 2019 17:08:38 +0000
(17:08 +0000)
committer
Adrian Prantl
<aprantl@apple.com>
Tue, 1 Oct 2019 17:08:38 +0000
(17:08 +0000)
llvm-svn: 373352
lldb/source/DataFormatters/TypeFormat.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/DataFormatters/TypeFormat.cpp
b/lldb/source/DataFormatters/TypeFormat.cpp
index
b526e9a
..
b272c2e
100644
(file)
--- a/
lldb/source/DataFormatters/TypeFormat.cpp
+++ b/
lldb/source/DataFormatters/TypeFormat.cpp
@@
-164,7
+164,7
@@
bool TypeFormatImpl_EnumType::FormatObject(ValueObject *valobj,
llvm::DenseSet<lldb_private::SymbolFile *> searched_symbol_files;
images.FindTypes(nullptr, m_enum_type, false, UINT32_MAX,
searched_symbol_files, types);
- if (types.
GetSize() == 0
)
+ if (types.
Empty()
)
return false;
for (lldb::TypeSP type_sp : types.Types()) {
if (!type_sp)