diff options
author | Ben Langmuir <blangmuir@apple.com> | 2017-07-12 22:05:30 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2017-07-12 22:05:30 +0000 |
commit | 2d77c354f16dda7be663553232555b0d61eab112 (patch) | |
tree | a33bc816d5f76652a5350f16e129dbc6764157f1 /lib/Driver | |
parent | f3ab09d9a0924b533b587e03b665fe6b4204b4ad (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
Diffstat (limited to 'lib/Driver')
0 files changed, 0 insertions, 0 deletions