Skip to content

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

Open
@ZimmerZheng

Description

@ZimmerZheng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions