Skip to content

Commit dda92c1

Browse files
committed
---
yaml --- r: 349067 b: refs/heads/master c: 440ffe1 h: refs/heads/master i: 349065: 6e8c991 349063: 9efa442
1 parent 89c21d4 commit dda92c1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
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: ef5735589f92a03ed13d00bb952782970c976573
2+
refs/heads/master: 440ffe1283d8eed3096bd897f9212ed76a5bc916
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/IRGen/GenClangType.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ static CanType getNamedSwiftType(ModuleDecl *stdlib, StringRef name) {
6464
// that's a real thing.
6565
if (results.size() == 1) {
6666
if (auto typeDecl = dyn_cast<TypeDecl>(results[0]))
67-
if (typeDecl->hasInterfaceType())
68-
return typeDecl->getDeclaredInterfaceType()->getCanonicalType();
67+
return typeDecl->getDeclaredInterfaceType()->getCanonicalType();
6968
}
7069
return CanType();
7170
}

0 commit comments

Comments
 (0)