Update llvm-py to llvmpy and fix more docs

This commit is contained in:
Travis E. Oliphant 2012-08-09 01:16:36 -05:00
commit 75ca0289b5
11 changed files with 49 additions and 56 deletions

View file

@ -18,11 +18,11 @@ create a module
my\_module = Module.new('my\_module') {% endhighlight %}
The constructor of the Module class should *not* be used to instantiate
a Module object. This is a common feature for all llvm-py classes.
a Module object. This is a common feature for all llvmpy classes.
**Convention**
*All* llvm-py objects are instantiated using static methods of
*All* llvmpy objects are instantiated using static methods of
corresponding classes. Constructors *should not* be used.
The argument ``my_module`` is a module identifier (a plain string).
@ -225,7 +225,7 @@ compares the resultant strings.
**Convention**
*All* llvm-py objects (where it makes sense), when stringified,
*All* llvmpy objects (where it makes sense), when stringified,
return the LLVM assembly representation. ``print module_obj`` for
example, prints the LLVM assembly form of the entire module.