https://bugs.llvm.org/show_bug.cgi?id=48503

            Bug ID: 48503
           Summary: clangd not able to navigate from declaration to
                    implementation
           Product: clang-tools-extra
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: clangd
          Assignee: unassignedclangb...@nondot.org
          Reporter: leona...@adacore.com
                CC: llvm-bugs@lists.llvm.org

Created attachment 24281
  --> https://bugs.llvm.org/attachment.cgi?id=24281&action=edit
Sources showing the mentioned bug

Hello,

The textDocument/definition request is failing on the functions declared in
hi.h: executing the request on these declarations end up with an empty
response.

Interestingly, the same request works fine on the implementations of these
functions, present in the hi.c file.

I have attached the reproducer, with the compile_commands.json file used (which
looks perfectly good to me).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to