Open Bug 1419018 Opened 7 years ago Updated 6 days ago

Allow distinguishing LHS/RHS usages of fields (AKA write references and read references)

Categories

(Webtools :: Searchfox, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: kats, Unassigned)

References

Details

Sometimes I just want to know all the places a particular field is assigned to. Right now I have to go to "Search for field <name>" and then inspect the "Uses" list for expressions where the field is on the LHS. It would be great if Searchfox could classify this for me instead.
One thing to note is that a field can be modified without directly appearing on the LHS of an assignment. For example, a (non-const) pointer or reference to the field could be passed to a function, which then assigns to it.

In Eclipse, the classifications are called "read occurrences" and "write occurrences". Passing a non-const pointer or reference is classified as a "write occurrence" ("potential write occurrence" might be a better name, since the function may not *actually* write to the field).
See Also: 1434779
Duplicate of this bug: 1892275
Summary: Allow distinguishing LHS/RHS usages of fields → Allow distinguishing LHS/RHS usages of fields (AKA write references and read references)
You need to log in before you can comment on or make changes to this bug.