Closed
Bug 1196917
Opened 10 years ago
Closed 5 years ago
Filenames missing from jump-to-definition on macro-defined functions
Categories
(Webtools Graveyard :: DXR, defect)
Webtools Graveyard
DXR
Tracking
(firefox43 affected)
RESOLVED
WONTFIX
| Tracking | Status | |
|---|---|---|
| firefox43 | --- | affected |
People
(Reporter: froydnj, Unassigned)
References
Details
STR:
1. Go to DXR.
2. Search for RegisterNonJSSizeOfTab.
3. Observe three hits:
- 1 call;
- 1 declaration in an idl file;
- 1 declaration in the generated header from the idl file.
4. Click on the generated header file result.
5. Click on "RegisterNonJSSizeOfTab", select "jump to definition"
Expected results:
DXR points me at or close to:
http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsMemoryReporterManager.cpp#2423
Actual results:
DXR points me at:
https://dxr.mozilla.org/mozilla-central/source/#2423
DXR has gotten the line number correct, but has somehow lost the filename along the way.
Alternate STR, starting after step 3 above:
4. Click on the result with the file featuring the call, nsWindowMemoryReporter.cpp.
5. Click on "RegisterNonJSSizeOfTab", select "jump to definition".
This takes me to the generated header file, rather than the actual definition in the .cpp.
Comment 1•10 years ago
|
||
Thanks for the report! I'm going to split this into 2 bugs: one for the missing filename and another for macros that define functions.
Summary: functions defined via macros are not indexed properly → Filenames missing from jump-to-definition on macro-defined functions
Comment 2•10 years ago
|
||
Split-off bug: 1197839
Comment 6•5 years ago
|
||
DXR is no longer available. Searchfox is now replacing it.
See meta bug 1669906 & https://groups.google.com/g/mozilla.dev.platform/c/jDRjrq3l-CY for more details.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•