Note: Google Test filter = ConnectionFileDescriptorTest.TCPGetURIv6 [==========] Running 1 test from 1 test case. [----------] Global test environment set-up.
we should also be handling LabelDecls in clang/lib/Index/IndexDecl.cpp
this should propagate the result from handleReference, i.e return IndexCtx.handleRefer....
the two comments above also applies to this one.
nit: just Not(Contains(QName("label"))
argh, looks like RecursiveASTVisitor doesn't traverse LabelDecl inside the LabelStmt. So feel free to fix that in RAV or call IndexCtx.handleDecl(LabelDecl) in here with a fixme. (hopefully nothing much should break with the former though)
i believe we should see the "definition/declaration" of label rather than a reference