================ @@ -32,46 +32,52 @@ constexpr bool isOneOfTypes = template <typename ToTest, typename T> constexpr bool isOneOfTypes<ToTest, T> = std::is_same_v<ToTest, T>; +template <typename OpTy> ---------------- erichkeane wrote:
We end up needing to template-ize this, since the visitor handler functions are not needing to `if-constexpr` instead of just the `apply` function. https://github.com/llvm/llvm-project/pull/135851 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits