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 94be707 commit 9136ed2Copy full SHA for 9136ed2
lib/ClangImporter/ImportType.cpp
@@ -515,6 +515,7 @@ namespace {
515
type->getElementType(), ImportTypeKind::Abstract,
516
false /* No NSUIntegerAsInt */, Bridgeability::None,
517
OptionalTypeKind::OTK_None);
518
+ if (!element) { return Type(); }
519
unsigned count = type->getNumElements();
520
// Import vector-of-one as the element type.
521
if (count == 1) { return element; }
0 commit comments