[LLVMbugs] [Bug 22185] New: Incomplete cursor traversal: op[] arguments

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jan 10 07:42:52 PST 2015


            Bug ID: 22185
           Summary: Incomplete cursor traversal: op[] arguments
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: contact at jeaye.com
                CC: klimek at google.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Given the code (as foo.cpp):

struct foo
  void operator [](int)
  { }
  static int constexpr index{ 1 };

foo& get()
{ static foo f; return f; }

int main()

and the test code: https://gist.github.com/jeaye/6e04855778086c1e5d24 the
resulting output is:


Note, starting on line 46, we should see a type ref (foo) and a variable/member
ref (index), but we only see DeclRefExpr.

Unlike the other incomplete cursor traversal bugs, I have been unable to find a
working solution for this, so I have no commits.

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/20150110/9fa2fa0f/attachment.html>

More information about the llvm-bugs mailing list