[Lxr-dev] [ lxr-Bugs-481597 ] Should index X::Y() as well as Y()
Brought to you by:
ajlittoz
From: <no...@so...> - 2002-05-28 12:05:22
|
Bugs item #481597, was opened at 2001-11-13 23:17 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=481597&group_id=27350 Category: Lang support Group: current cvs Status: Open Resolution: None Priority: 6 Submitted By: Malcolm Box (mbox) Assigned to: Malcolm Box (mbox) Summary: Should index X::Y() as well as Y() Initial Comment: For C++ and other OO languages, we should index both the full scoped name of the function (ie Class::Function()) as well as just Function(). This looks easy(ish) to do - ctags already spits out the class of a method in the extended information, and it would be easy to insert another entry for the full name. References would be harder - it's much more difficult if not impossible to determine what function a callsite will actually resolve to except by doing a full compile. So we might have to settle for indexing the declarations of the fully scoped names but not the references, or strip out scope when running ident. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-05-28 05:05 Message: Logged In: NO Also C++ namespace scoping does not work... and is similar in syntax.. not sure if another bug should be created or not... //in somefile.h namespace ns{ class Foo{};}; //in some_other_file.cpp void func(){ ns::Foo f; //<-- will not be linked } unfortunately, his affects about 90% of my code... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=481597&group_id=27350 |