[llvm-bugs] [Bug 28277] New: The kind of cursor on a local template variable decleration is CXCursor_NoDeclFound (0n71)

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 23 05:00:11 PDT 2016


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

            Bug ID: 28277
           Summary: The kind of cursor on a local template variable
                    decleration is CXCursor_NoDeclFound (0n71)
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.schulz at qt.io
                CC: klimek at google.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16629
  --> https://llvm.org/bugs/attachment.cgi?id=16629&action=edit
Minimal example.

The Attachment contains a minimal example that reproduces the issue. You'll
need to compile libclangclient.cpp and start the executable with cursor.cpp as
command line paramter.

I would expect CXCursor_VarDecl as kind for a cursor on variable declaration
inside a templated function. Currently CXCursor_NoDeclFound is the kind of that
cursor.

The issue seems to be platform dependent, because I wasn't able to reproduce it
on a Linux system.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160623/4fb573ca/attachment.html>


More information about the llvm-bugs mailing list