Fix UB passing nullptr to an EmptyProperties class when building OpAdaptor
A new forwarding constructor is introduced on the adaptor to take directly an OpaqueProperties object and do the nullptr checking and casting to avoid the boilerplate at callsites. Differential Revision: https://reviews.llvm.org/D150003
parent
4c9f1584
Please register or sign in to comment