http://llvm.org/bugs/show_bug.cgi?id=3357

           Summary: Kaleidoscope Tutorial Ch3 doesn't compile
           Product: Documentation
           Version: 2.4
          Platform: PC
               URL: http://llvm.org/docs/tutorial/LangImpl3.html
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General docs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


On line 350 of the code on the webpage, the declaration of Builder doesn't
account for the fact that IRBuilder is now templetized, and therefore needs at
least<>, but probably should get <true,NoFolder>. Doing the latter requires
adding

#include "llvm/Support/NoFolder.h"

Near the top of the file.

I jokingly proposed this idea in the chat room: that the Kaleidoscope tutorial
code be part of a regular test suite, and even that it be automatically
injected into the tutorial's markup. baldrick thought it was a good idea, so
I'm recording it in this bug.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to