--- www/iridium/files/patch-third__party_angle_third__party_glslang_src_glslang_Include_PoolAlloc.h (nonexistent) +++ www/iridium/files/patch-third__party_angle_third__party_glslang_src_glslang_Include_PoolAlloc.h (working copy) @@ -0,0 +1,20 @@ +commit 24b3e8384e93f3e73b6aa14ea00a30574112f9ba +Author: Reid Kleckner +Date: Wed Dec 4 14:09:03 2019 -0800 + + Remove glslang::pool_allocator::setAllocator + + TPoolAllocator is not copy assignable, so this setter could never have + been used. After a recent change (878a24ee2), new versions of Clang + reject this code outright. + +--- third_party/angle/third_party/glslang/src/glslang/Include/PoolAlloc.h.orig 2019-04-05 00:55:17 UTC ++++ third_party/angle/third_party/glslang/src/glslang/Include/PoolAlloc.h +@@ -304,7 +304,6 @@ class pool_allocator { (public) + size_type max_size() const { return static_cast(-1) / sizeof(T); } + size_type max_size(int size) const { return static_cast(-1) / size; } + +- void setAllocator(TPoolAllocator* a) { allocator = *a; } + TPoolAllocator& getAllocator() const { return allocator; } + + protected: --- www/iridium/files/patch-third__party_glslang_src_glslang_Include_PoolAlloc.h (nonexistent) +++ www/iridium/files/patch-third__party_glslang_src_glslang_Include_PoolAlloc.h (working copy) @@ -0,0 +1,20 @@ +commit 24b3e8384e93f3e73b6aa14ea00a30574112f9ba +Author: Reid Kleckner +Date: Wed Dec 4 14:09:03 2019 -0800 + + Remove glslang::pool_allocator::setAllocator + + TPoolAllocator is not copy assignable, so this setter could never have + been used. After a recent change (878a24ee2), new versions of Clang + reject this code outright. + +--- third_party/glslang/src/glslang/Include/PoolAlloc.h.orig 2019-04-05 00:55:12 UTC ++++ third_party/glslang/src/glslang/Include/PoolAlloc.h +@@ -304,7 +304,6 @@ class pool_allocator { (public) + size_type max_size() const { return static_cast(-1) / sizeof(T); } + size_type max_size(int size) const { return static_cast(-1) / size; } + +- void setAllocator(TPoolAllocator* a) { allocator = *a; } + TPoolAllocator& getAllocator() const { return allocator; } + + protected: --- www/iridium/files/patch-third__party_swiftshader_src_OpenGL_compiler_PoolAlloc.h (nonexistent) +++ www/iridium/files/patch-third__party_swiftshader_src_OpenGL_compiler_PoolAlloc.h (working copy) @@ -0,0 +1,20 @@ +commit 24b3e8384e93f3e73b6aa14ea00a30574112f9ba +Author: Reid Kleckner +Date: Wed Dec 4 14:09:03 2019 -0800 + + Remove glslang::pool_allocator::setAllocator + + TPoolAllocator is not copy assignable, so this setter could never have + been used. After a recent change (878a24ee2), new versions of Clang + reject this code outright. + +--- third_party/swiftshader/src/OpenGL/compiler/PoolAlloc.h.orig 2019-04-05 00:55:15 UTC ++++ third_party/swiftshader/src/OpenGL/compiler/PoolAlloc.h +@@ -304,7 +304,6 @@ class pool_allocator { (public) + size_type max_size() const { return static_cast(-1) / sizeof(T); } + size_type max_size(int size) const { return static_cast(-1) / size; } + +- void setAllocator(TPoolAllocator *a) { allocator = a; } + TPoolAllocator& getAllocator() const { return *allocator; } + + protected: