Lines Matching defs:USR
24 SymbolID hashUSR(llvm::StringRef USR) {
25 return llvm::SHA1::hash(arrayRefFromStringRef(USR));
221 llvm::SmallString<128> USR;
222 if (index::generateUSRForDecl(D, USR))
224 return hashUSR(USR);
283 Scope.Namespaces.emplace_back(Info.USR, Info.Name, InfoType::IT_namespace,
288 Scope.Records.emplace_back(Info.USR, Info.Name, InfoType::IT_record,
330 ParentNS->USR = Child.Namespace[0].USR;
336 ParentRec->USR = Child.Namespace[0].USR;
519 I.USR = getUSRForDecl(D);
599 // Initialized without USR and name, this will be set in the following
607 BI.USR = getUSRForDecl(D);
610 BI.USR = getUSRForDecl(Base);
657 if (I->Namespace.empty() && I->USR == SymbolID())