Commit affb09d
Don't store
Summary: `XRefsViaName` is similar to `DeclarationUses` but instead of storing the declaration, it stores the name. So, to find the predicate we only need to map de `Declaration` to the `Name` and then query `XRefsViaName`. This allows us to compute the predicate efficiently on the fly
Reviewed By: iamirzhan
Differential Revision: D75604029
fbshipit-source-id: e06ac9a962a586957b1bc329d17dd634a6ab695eDeclarationUses
1 parent 78f33f4 commit affb09d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
| 211 | + | |
211 | 212 | | |
212 | | - | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
0 commit comments