-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Share span lookup across both cxx defn xref results
Summary: Slight optimization. We were computing the span twice, once for the decl -> def target, and against for the def -> decl target. Just do it once outside the loop. Reviewed By: nhawkes Differential Revision: D39414932 fbshipit-source-id: ea5047ed9b09cedded3c1bd17e59fac0b98e694b
- Loading branch information
1 parent
4aa0dda
commit 4ea90ad
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters