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