[llvm-bugs] [Bug 33256] New: Cursor for "Type" in "using N::Type" is CXCursor_OverloadedDeclRef

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 1 02:10:50 PDT 2017


            Bug ID: 33256
           Summary: Cursor for "Type" in "using N::Type" is
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nikolai.kosjar at qt.io
                CC: klimek at google.com, llvm-bugs at lists.llvm.org

$ export FILE=/tmp/test.cpp                 
$ cat -n $FILE             
     1  namespace N { void goo(); }
     2  using N::goo;
$ ./c-index-test -cursor-at=$FILE:2:10 $FILE
2:10 OverloadedDeclRef=goo[1:20] Extent=[2:10 - 2:13] Spelling=goo ([2:10 -

CXCursor_OverloadedDeclRef should not be reported for types.

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/20170601/485168f6/attachment.html>

More information about the llvm-bugs mailing list