Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Commit

Permalink
[indexstore] Handle enum value SymbolRole::NameReference
Browse files Browse the repository at this point in the history
rdar://problem/51747249
  • Loading branch information
jkorous-apple committed Oct 4, 2019
1 parent 2ede160 commit bf37de6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Index/IndexDataStoreUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,9 @@ uint64_t index::getIndexStoreRoles(SymbolRoleSet Roles) {
case SymbolRole::RelationSpecializationOf:
storeRoles |= INDEXSTORE_SYMBOL_ROLE_REL_SPECIALIZATIONOF;
break;
case SymbolRole::NameReference:
storeRoles |= INDEXSTORE_SYMBOL_ROLE_REFERENCE;
break;
}
});
return storeRoles;
Expand Down

0 comments on commit bf37de6

Please sign in to comment.