Page MenuHomePhabricator

[clang] Skip implicit declarations when attaching doc comments

Authored by jkorous on Mar 2 2020, 4:11 PM.

Diff Detail

Event Timeline

jkorous created this revision.Mar 2 2020, 4:11 PM
sammccall accepted this revision.Mar 2 2020, 4:17 PM

Is there a motivating example that would make a good test?

This revision is now accepted and ready to land.Mar 2 2020, 4:17 PM

It looks like this check is done already in getDeclLocForCommentSearch. Any reason to duplicate it?

jkorous abandoned this revision.Mar 2 2020, 6:26 PM

@erik.pilkington My bad - didn't check that.