diff options
author | Ron Olson <tachoknight@gmail.com> | 2018-11-16 14:34:39 -0600 |
---|---|---|
committer | Ron Olson <tachoknight@gmail.com> | 2018-11-16 14:34:39 -0600 |
commit | d1974439b30c1864f6498acae0d74d158ace1b0e (patch) | |
tree | 89531cec01baef6dd0d95fa3b773228a698a43f5 /reflection-template.patch | |
parent | fb52062cc204ba82b313e6d8e6cdf1756b54e647 (diff) | |
download | swift-lang-d1974439b30c1864f6498acae0d74d158ace1b0e.tar.gz swift-lang-d1974439b30c1864f6498acae0d74d158ace1b0e.tar.xz swift-lang-d1974439b30c1864f6498acae0d74d158ace1b0e.zip |
First attempt at post 4.2.1 using what will be 5.0 sources
Diffstat (limited to 'reflection-template.patch')
-rw-r--r-- | reflection-template.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/reflection-template.patch b/reflection-template.patch deleted file mode 100644 index 22f3ec2..0000000 --- a/reflection-template.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- 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 |