Code cleanup, pylint, updated README, CHANGELOG

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@67 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2009-02-23 11:24:12 +00:00
commit 231aa4a5c4
13 changed files with 1055 additions and 922 deletions

View file

@ -162,9 +162,10 @@ def do_value():
k = Constant.int(ti, 42)
k.name = 'a'
s = k.name
t = s.type
t = k.type
s = str(k)
s = k == Constant.int(ti, 43)
i = k.value_id
def do_constant():
@ -473,6 +474,7 @@ def do_llvm_core():
do_module()
do_type()
do_typehandle()
do_value()
do_constant()
do_global_value()
do_global_variable()
@ -577,3 +579,20 @@ def main():
main()
# to add:
# IntegerType
# FunctionType
# StructType
# ArrayType
# PointerType
# VectorType
# ConstantExpr
# ConstantAggregateZero
# ConstantInt
# ConstantFP
# ConstantArray
# ConstantStruct
# ConstantVector
# ConstantPointerNull
# MemoryBuffer