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

Minor refactoring of SourceRange expansion and file mapping into separate functions [phab:D2117]

Created by shahms at 2018-01-16 16:04:18:

Pulls some logic from BuildNodeIdForType into separate functions.

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

  • 写回答

5条回答 默认 最新

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

    fromberger wrote at 2018-01-16 16:45:05:

    I don't know where exactly it should go, but could we get a comment somewhere explaining what the "expand" operation is doing, w.r.t. empty ranges and how it chooses what to expand to? Obviously the details are devilish, but I think a high-level summary would help. Unfortunately I don't really have a great suggestion about where to put it—maybe next to the implementations of the member functions?

    评论

报告相同问题?