search for: descty

Displaying 2 results from an estimated 2 matches for "descty".

Did you mean: desc
2015 Jul 27
0
[LLVMdev] [un]wrapping llvm:DITypeRef
...does not solve my problem. The implicit conversion operator DITypeRef converts from a DIType, which can contain only an MDNode*, but I need to construct a DITypeRef, which can contain a Metadata*. The constructor I need is here: template <typename T> class DIRef { template <typename DescTy> friend DescTy DIDescriptor::getFieldAs(unsigned Elt) const; friend DIScopeRef DIScope::getContext() const; friend DIScopeRef DIScope::getRef() const; friend class DIType; /// \brief Val can be either a MDNode or a MDString. /// /// In the latter, MDString specifies the typ...
2015 Jul 27
2
[LLVMdev] [un]wrapping llvm:DITypeRef
On 07/25/2015 08:57 PM, Andrew Wilkins wrote: > On Sun, 26 Jul 2015 at 06:48 Rodney M. Bates <rodney_bates at lcwb.coop <mailto:rodney_bates at lcwb.coop>> wrote: > > In trying to write a C binding for DIBuilder of llvm 3.6.1, I can't see a way to unwrap > llvm::DITypeRef, declared in include/llvm/IR/DebugInfo.h. This is a class with one > data member, a