Open
Bug 1419018
Opened 7 years ago
Updated 3 years ago
Allow distinguishing LHS/RHS usages of fields
Categories
(Webtools :: Searchfox, enhancement)
Webtools
Searchfox
Tracking
(Not tracked)
NEW
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.
Comment 1•7 years ago
|
||
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).
Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•