[LLVMbugs] [Bug 3357] New: Kaleidoscope Tutorial Ch3 doesn't compile

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jan 20 01:22:15 PST 2009


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: unassignedbugs at nondot.org
        ReportedBy: rmann at latencyzero.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list