On Mar 6, 2011, at 7:18 AM, Jochen Wilhelmy wrote:
> Hi!
>
> in the detailed description of llvm::Value it says:
>
> All _types_ can have a name and they should belong to some Module
>
> Is this correct or is it rather
>
> All _values_ can have a name and they should belong to some Module?
Yes, that was wrong. I updated the comment in r127252. Also, ConstantInt
can't have a name, so the comment was wrong for other reasons as well.
> Is it correct to use types across modules (in the same context)?
Yep, that is correct.
-Chris