fix(cxx_indexer): assign usr nodes to the empty corpus
@@ -927,7 +927,7 @@ void KytheGraphObserver::assignUsr(const NodeId& node, llvm::StringRef usr,
std::min(hash.size(), static_cast<size_t>(byte_size))));
VNameRef node_vname = VNameRefFromNodeId(node);
VNameRef usr_vname;
- usr_vname.set_corpus(type_token_.vname().corpus());
+ usr_vname.set_corpus(""); // usr nodes always use the empty corpus
usr_vname.set_signature(hex);
usr_vname.set_language("usr");
recorder_->AddProperty(usr_vname, NodeKindID::kClangUsr);
