search for: dyn_

Displaying 3 results from an estimated 3 matches for "dyn_".

Did you mean: dyn
2018 Jan 23
2
RFC: Towards unified semantic for casts
Hi everyone, I have an idea that should allow reducing code duplication in Casting.h while making llvm::isa, llvm::cast, llvm::dyn_cast, etc more generic. Since we added unique pointers support for these template functions (see ab480f45cd23c08cb9aa3f427aad072df249135f) I propose to generalize their semantics to deal with any pointer-like type (i.e. dereferenceable and implicitly convertible to bool) so that: - for each fanc...
2018 Jan 23
0
RFC: Towards unified semantic for casts
...pe that's not dereferenceable, though?) On Tue, Jan 23, 2018 at 7:02 AM Dmitriy Borisenkov via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi everyone, > > I have an idea that should allow reducing code duplication in Casting.h > while making llvm::isa, llvm::cast, llvm::dyn_cast, etc more generic. Since > we added unique pointers support for these template functions (see > ab480f45cd23c08cb9aa3f427aad072df249135f) I propose to generalize their > semantics to deal with any pointer-like type (i.e. dereferenceable and > implicitly convertible to bool) so that:...
2018 Jan 23
0
MachineVerifier and undef
...ge-ID: > <CAKbXz6GK5GpCqpZAqWRPut2avDpxVAOxBABc72zZdmC341asgg at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi everyone, > > I have an idea that should allow reducing code duplication in Casting.h > while making llvm::isa, llvm::cast, llvm::dyn_cast, etc more generic. Since > we added unique pointers support for these template functions (see > ab480f45cd23c08cb9aa3f427aad072df249135f) I propose to generalize their > semantics to deal with any pointer-like type (i.e. dereferenceable and > implicitly convertible to bool) so that:...