-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Currently glean supports showing comments from declarations on xref hover. The problem is for the macro it works poorly, since we need data from the calling part. This diff makes the same trick with macro like previous with vars: create a definition right on the xref location and add relevant comment there. As arity macro xref location is used. This way we can have ODS links, macro expansion and macro definition on hover. Drawbacks is that we miss go-to-def and find references for macros Reviewed By: alanz Differential Revision: D55916496 fbshipit-source-id: 29fa4d399516792172d592faf8dcd4699bb3265a
- Loading branch information
1 parent
6c47f0b
commit 96b5118
Showing
1 changed file
with
60 additions
and
21 deletions.
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