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

            Bug ID: 33256
           Summary: Cursor for "Type" in "using N::Type" is
                    CXCursor_OverloadedDeclRef
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: unassignedclangb...@nondot.org
          Reporter: nikolai.kos...@qt.io
                CC: kli...@google.com, llvm-bugs@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 -
2:13])

CXCursor_OverloadedDeclRef should not be reported for types.

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

Reply via email to