[LLVMdev] LLVM 3.0 oddity

Erik de Castro Lopo mle+cl at mega-nerd.com
Sun Nov 27 18:21:23 PST 2011


Reid Kleckner wrote:

> On Sun, Nov 27, 2011 at 3:10 PM, Erik de Castro Lopo
> <mle+cl at mega-nerd.com>wrote:
> 
> >  b) Is there a good reason why I should not be allowed both declare
> >    and a defined a function in the same module?
> >
> 
> I don't know the reason, but I do remember that LLVM does not allow you to
> declare a function and define it.

Ok, thanks. I'll have to fix my code generator.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the llvm-dev mailing list