Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find Function.eraseFromParent() #130

Open
shans opened this issue Jun 3, 2021 · 1 comment
Open

Can't find Function.eraseFromParent() #130

shans opened this issue Jun 3, 2021 · 1 comment

Comments

@shans
Copy link

shans commented Jun 3, 2021

I'm currently working through the LLVM Kaleidoscope tutorial - in chapter 3 (https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.html) there's reference to an eraseFromParent() method on Function, but it doesn't show up in the typeScript definitions file.

@MichaReiser
Copy link
Owner

Hy @shans

The library only exposes a subset of LLVM and functions are added on a "by need" basis. Feel free to create a PR that adds eraseFromParent to the Function wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants