The full code listing was fixed in fdaeb0c647eb66763721a7fe74e0a36b007dcd75
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The Debian check failures appear unrelated to this change. Unless all code snippets outside of the full tutorial code listing are compiled somehow, it seems unlikely this change is documentation-only. I'd guess they aren't compiled since this wasn't addressed sooner. I'm happy to be wrong. I'm a little surprised that the development branch has breakages. Is that common?
(this matches the actual code example here: https://github.com/llvm/llvm-project/blob/a053f359908b3645e54f820b551110764f964c66/llvm/examples/Kaleidoscope/Chapter9/toy.cpp#L1257 )
Thanks @dblaikie. I don’t have commit access, can you land this patch for me? Please use “Justin Brooks justin@jzbrooks.com” to commit the change.
I also wonder if this change would be beneficial to land in other branches as well. I was working with LLVM 11 (going to update it soon, hopefully), so when I encountered the problem the full code listing wasn't addressed either. I had to read LLVM source to figure out how to fix the problem. I'm happy to do that, but I'm not sure if there's a process for such things or if it would be valuable.
Sure, done!
I also wonder if this change would be beneficial to land in other branches as well. I was working with LLVM 11 (going to update it soon, hopefully), so when I encountered the problem the full code listing wasn't addressed either. I had to read LLVM source to figure out how to fix the problem. I'm happy to do that, but I'm not sure if there's a process for such things or if it would be valuable.
@tstellar - any thoughts on whether it's suitable/worthwhile to backport this documentation fix?