[PATCH] D137173: Add deduction guides for IRBuilder

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 07:03:44 PST 2022


kparzysz added a comment.

We have a policy that classes that are meant to be used in CTAD should have at least one deduction guide.  There is a warning (-Wctad-maybe-unsupported) that was added to LLVM build options to warn about using CTAD with classes that may not have been intended to be auto-deduced.  The practical impact of this change would be that we could "officially" use IRBuilder without explicitly specifying template argument (in compliance with the CTAD policy).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137173/new/

https://reviews.llvm.org/D137173



More information about the llvm-commits mailing list