Skip to content

Commit cd661bf

Browse files
committed
---
yaml --- r: 348637 b: refs/heads/master c: 2fdd5fc h: refs/heads/master i: 348635: 62eb9af
1 parent 7de122e commit cd661bf

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: e439c0fdbea0431da9bfc2543a4282147669b5da
2+
refs/heads/master: 2fdd5fc857cf4dc8ad5ec4e9c9e624c9bf3f4e95
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/lib/ClangImporter/ImportType.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -401,13 +401,9 @@ namespace {
401401

402402
// With pointer conversions enabled, map to the normal pointer types
403403
// without special hints.
404-
Type pointeeType;
405-
if (pointeeQualType->isVoidType())
406-
pointeeType = Impl.getNamedSwiftType(Impl.getStdlibModule(), "Void");
407-
else
408-
pointeeType = Impl.importTypeIgnoreIUO(
409-
pointeeQualType, ImportTypeKind::Value, AllowNSUIntegerAsInt,
410-
Bridgeability::None);
404+
Type pointeeType = Impl.importTypeIgnoreIUO(
405+
pointeeQualType, ImportTypeKind::Value, AllowNSUIntegerAsInt,
406+
Bridgeability::None);
411407

412408
// If the pointed-to type is unrepresentable in Swift, or its C
413409
// alignment is greater than the maximum Swift alignment, import as

0 commit comments

Comments
 (0)