Files
clang-p2996/llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
Krzysztof Drewniak 5d98dc7124 [llvm][GenericUniformity] Hack around strict is_invocable() checks
With recent (> 15, as far as I can tell, possibly > 16) clang, c++17,
and GNU's libstdc++ (versions 9 and 10 and maybe others), LLVM fails
to compile due to an is_invocable() check in unique_ptr::reset().

To resolve this issue, add a template argument to ImplDeleter to make
things work.

Differential Revision: https://reviews.llvm.org/D141865
2023-01-18 19:56:42 +00:00

7.2 KiB