weixin_39966922 2020-11-29 18:33
浏览 0

Mark certain refs as implicit [phab:D2166]

Created by zarko at 2018-02-02 23:28:48:

This diff calls out refs from non-physical ranges and from underneath template instantiations as implicit, using the new edge kinds ref/implicit, ref/init/implicit, and ref/call/implicit. This should clean up the results of cross-reference queries, where users are sometimes surprised to find references to their definitions located inside (for example) standard library templates (as those definitions were used there during instantiation).

It may be possible to mark refs from macro expansions as implicit as well, but the situations in which this is a good idea are currently unclear.

该提问来源于开源项目:kythe/kythe

  • 写回答

7条回答 默认 最新

  • weixin_39966922 2020-11-29 18:33
    关注

    fromberger commented inline (context lost during migration) at 2018-02-03 01:25:08:

    Can you please add these kinds to the schema packages in kythe/go/util/schema/... as well?

    评论

报告相同问题?