DIDescriptor does not inherit MDNode
This commit is contained in:
parent
ad287faeb1
commit
2415042a2a
1 changed files with 3 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ from .namespace import llvm
|
||||||
from .ADT.StringRef import StringRef
|
from .ADT.StringRef import StringRef
|
||||||
from .Value import MDNode
|
from .Value import MDNode
|
||||||
|
|
||||||
DIDescriptor = llvm.Class(MDNode)
|
DIDescriptor = llvm.Class()
|
||||||
DIEnumerator = llvm.Class(DIDescriptor)
|
DIEnumerator = llvm.Class(DIDescriptor)
|
||||||
DIScope = llvm.Class(DIDescriptor)
|
DIScope = llvm.Class(DIDescriptor)
|
||||||
DIType = llvm.Class(DIScope)
|
DIType = llvm.Class(DIScope)
|
||||||
|
|
@ -29,7 +29,8 @@ return_unsigned = cast(Unsigned, int)
|
||||||
|
|
||||||
@DIDescriptor
|
@DIDescriptor
|
||||||
class DIDescriptor:
|
class DIDescriptor:
|
||||||
pass
|
new = Constructor(ptr(MDNode))
|
||||||
|
delete = Destructor()
|
||||||
|
|
||||||
@DIScope
|
@DIScope
|
||||||
class DIScope:
|
class DIScope:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue