DXR does not find callers of functions that take enum class arguments

RESOLVED FIXED

Status

Webtools
DXR
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: heycam, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(firefox45 affected)

Details

If I look at the definition of nsStyleSet:

https://dxr.mozilla.org/mozilla-central/source/layout/style/nsStyleSet.h?from=nsStyleSet#309

click on one of its member functions that takes a mozilla::SheetType argument (which is an enum class) and choose "Find callers", I get zero results.  The search query it wants to use is:

+callers:"nsStyleSet::AppendStyleSheet(enum mozilla::SheetType, class nsIStyleSheet *)"

If I change that to remove the "enum", I get the expected results.

Updated

2 years ago
Depends on: 1268205

Comment 1

2 years ago
Fixed by https://github.com/mozilla/dxr/pull/530
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.