egorzh / rpms / swift-lang

Forked from rpms/swift-lang 5 years ago
Clone
Blob Blame History Raw
--- swift/include/swift/Reflection/TypeRef.h.orig	2018-09-09 16:18:28.138659278 -0500
+++ swift/include/swift/Reflection/TypeRef.h	2018-09-09 16:20:47.423286114 -0500
@@ -48,12 +48,12 @@
 
 #define FIND_OR_CREATE_TYPEREF(Allocator, TypeRefTy, ...)                      \
   auto ID = Profile(__VA_ARGS__);                                              \
-  const auto Entry = Allocator.DEPENDENT_TEMPLATE TypeRefTy##s.find(ID);       \
-  if (Entry != Allocator.DEPENDENT_TEMPLATE TypeRefTy##s.end())                \
+  const auto Entry = Allocator.TypeRefTy##s.find(ID);       \
+  if (Entry != Allocator.TypeRefTy##s.end())                \
     return Entry->second;                                                      \
   const auto TR =                                                              \
       Allocator.DEPENDENT_TEMPLATE makeTypeRef<TypeRefTy>(__VA_ARGS__);        \
-  Allocator.DEPENDENT_TEMPLATE TypeRefTy##s.insert({ID, TR});                  \
+  Allocator.TypeRefTy##s.insert({ID, TR});                  \
   return TR;
 
 /// An identifier containing the unique bit pattern made up of all of the