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

Standalone project cannot find reference in ".td" file. #7

Open
ZimmerZheng opened this issue Aug 21, 2024 · 0 comments
Open

Standalone project cannot find reference in ".td" file. #7

ZimmerZheng opened this issue Aug 21, 2024 · 0 comments

Comments

@ZimmerZheng
Copy link

I followed this page https://github.com/llvm/llvm-project/tree/main/mlir/examples/standalone, use "Building - Component Build" to build my out-of-tree project. I copy example/standalone to other folder as my template project and successfully configure and build it.

But the ".td" file in new folder project cannot find reference and definition in vscode. Should I specific something like include path in MLIR extension's setting? By the way, .cpp files go to definition function is ok.

  1. Standalone copy to new folder cannot go to definition.
    image

  2. Standalone inside llvm-project mlir/example is ok.
    image

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

No branches or pull requests

1 participant