We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d37d3 commit 1a3230cCopy full SHA for 1a3230c
lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp
@@ -218,7 +218,7 @@ swift::Type SwiftASTContext::GetSwiftType(opaque_compiler_type_t opaque_type) {
218
219
swift::CanType
220
SwiftASTContext::GetCanonicalSwiftType(opaque_compiler_type_t opaque_type) {
221
- assert(opaque_type && *reinterpret_cast<const char *>(opaque_type) != '$' &&
+ assert(!opaque_type || *reinterpret_cast<const char *>(opaque_type) != '$' &&
222
"wrong type system");
223
return lldb_private::GetCanonicalSwiftType(CompilerType(this, opaque_type));
224
}
0 commit comments