[llvm-bugs] [Bug 28278] 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:01:05 PDT 2016


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

            Bug ID: 28278
           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

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/72b9dc2e/attachment-0001.html>


More information about the llvm-bugs mailing list