Skip to content

Commit f516ac6

Browse files
authored
Merge pull request #1309 from davezarzycki/lldb_nullptr_false_fix
[LLDB] nullptr and false are not the same
2 parents 5b8bad5 + fca7f54 commit f516ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/Language/Swift/SwiftUnsafeTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ bool SwiftUnsafeBufferPointer::Update() {
9090
argument_type = SwiftASTContext::GetGenericArgumentType(type, 0);
9191

9292
if (!argument_type.IsValid())
93-
return nullptr;
93+
return false;
9494

9595
m_elem_type = argument_type;
9696

0 commit comments

Comments
 (0)