Skip to content

Commit f9e261c

Browse files
authored
Merge pull request #23154 from uraimo/patch-1
Include PR16372 in swift-4.2-branch to support Clang 7.0+ (Ubuntu 18.10)
2 parents d52420e + b80d39b commit f9e261c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/swift/Reflection/TypeRef.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ enum class TypeRefKind {
4848

4949
#define FIND_OR_CREATE_TYPEREF(Allocator, TypeRefTy, ...) \
5050
auto ID = Profile(__VA_ARGS__); \
51-
const auto Entry = Allocator.DEPENDENT_TEMPLATE TypeRefTy##s.find(ID); \
52-
if (Entry != Allocator.DEPENDENT_TEMPLATE TypeRefTy##s.end()) \
51+
const auto Entry = Allocator.TypeRefTy##s.find(ID); \
52+
if (Entry != Allocator.TypeRefTy##s.end()) \
5353
return Entry->second; \
5454
const auto TR = \
5555
Allocator.DEPENDENT_TEMPLATE makeTypeRef<TypeRefTy>(__VA_ARGS__); \
56-
Allocator.DEPENDENT_TEMPLATE TypeRefTy##s.insert({ID, TR}); \
56+
Allocator.TypeRefTy##s.insert({ID, TR}); \
5757
return TR;
5858

5959
/// An identifier containing the unique bit pattern made up of all of the

0 commit comments

Comments
 (0)