Closed Bug 13812 Opened 25 years ago Closed 5 years ago

RFE: Identifier search doesn't work for #defined symbols

Categories

(Webtools Graveyard :: MXR, enhancement, P3)

x86
Linux
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: akkzilla, Unassigned)

References

Details

Blue sky: it would be great if lxr identifier searches also worked for symbols
which were #defined.  For example, kCharsetAliasCID is treated like an
identifier in code that references it, but Identifier Search doesn't find it
since it comes from a #define.
Severity: normal → enhancement
Status: NEW → ASSIGNED
there's a new version of lxr in the works that should make it easier to plug
in stuff like this. see http://lxr.linux.no/ for more details. I'll wait till
that version is done and I upgrade to it before I do anything like this.
Depends on: 13849
eww.
static NS_DEFINE_CID(kCharsetAliasCID, NS_CHARSETALIAS_CID);

that's evil. we can do two things:
a. treat items that appear |(item,| as tokens
b. pull in a complete c++ processor and require a complete build environment
(which is really unreasonable).

I'm willing to do (a) for mxr, Brad how does the other lxr fair on this specific
case?
reassigning endico's bugs to default owner
Assignee: endico → chase
Status: ASSIGNED → NEW
QA Contact: timeless
Assignee: chase → build
QA Contact: timeless → lxr
Reassigning all LXR bugs assigned to build@mozilla-org.bugs to the default LXR owner (sorry Bear!)

We aren't actively working on these (if that's wrong, please reassign to yourself/a real person). 
Assignee: build → bear
QA Contact: lxr → timeless
QA Contact: timeless → lxr
Assignee: bear → nobody

mxr is gone, mass closing.
https://searchfox.org/ is a much better alternative.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.