Closed vgvassilev closed 3 weeks ago
clang-tidy review says "All clean, LGTM! :+1:"
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.72%. Comparing base (
b38d8cf
) to head (6bfae40
). Report is 8 commits behind head on master.
Looks good. But, given that we will improve the error or diagnostic messages in the future, maybe we can use
E->getBeginLoc
andE->getEndLoc
instead of creating fake ones.
Until now we explicitly tried to use the fakeLoc approach to consistently annotate where we need to handle source locations in a non-crashing way. We could but that would point to the original function. Is that what you want here?
Until now we explicitly tried to use the fakeLoc approach to consistently annotate where we need to handle source locations in a non-crashing way. We could but that would point to the original function. Is that what you want here?
Although it would point to the original function, it will be really helpful for creating minimal reproducers from big functions, as these location informations in the primal function will point to the line or location of the troublesome expression.
Until now we explicitly tried to use the fakeLoc approach to consistently annotate where we need to handle source locations in a non-crashing way. We could but that would point to the original function. Is that what you want here?
Although it would point to the original function, it will be really helpful for creating minimal reproducers from big functions, as these location informations in the primal function will point to the line or location of the troublesome expression.
Ok. Let me change that. However, this comment is questioning our currently strategy here, right? If you agree we should open an issue where we suggest replacing all of the fake locations with ones pointing to the original function.
Ok. Let me change that. However, this comment is questioning our currently strategy here, right? If you agree we should open an issue where we suggest replacing all of the fake locations with ones pointing to the original function.
I am in full support for the new strategy of pointing to original function locations, so that it provides ease of debugging.
clang-tidy review says "All clean, LGTM! :+1:"
I do not think the codecov complaint is relevant for this PR. Let's move forward.
Unfortunately, it'd be difficult to come up with a test...