commit | ea6375051d83de7d311251a0b921beaec8620b55 | [log] [tgz] |
---|---|---|
author | Ben Langmuir <blangmuir@apple.com> | Wed Jul 12 22:05:30 2017 +0000 |
committer | Ben Langmuir <blangmuir@apple.com> | Wed Jul 12 15:36:24 2017 -0700 |
tree | 456a7eeba6f56ca545eb78c33ac9c16c0d3cdfb1 | |
parent | 15f65710e480b460d9e76a8dc4c753e4bd005756 [diff] |
[index] Don't add relation to a NamedDecl with no name Unless it's one of the special cases (tag, category) that we can handle. This syncs up the check between handling a decl and handling a relation. This would cause invalid nameless decls to end up in relations despite having no name or USR. rdar://problem/32474406 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307855 91177308-0d34-0410-b5e6-96231b3b80d8