<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 14.08.2017 11:06, Ilya Biryukov
wrote:<br>
</div>
<blockquote
cite="mid:CANmbtFf8wVzqg12kbqqfhpXPnroGjubjWvq6ndQme_kDHWPk4A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">Could you provide more info,
please.<br>
Are USRs different for same named file-local entries
(i.e. static functions)?<br>
</div>
</blockquote>
<div><br>
</div>
<div>Looking at USRGenerator::VisitVarDecl, it seems they
will be the same across different translation units.</div>
<div>For local entities, "location" is part of the USR.
("Location" is a filename + an offset from the start of
that file).</div>
</div>
</div>
</div>
</blockquote>
That was my point, U in USRs are not so Unified, so can not be used
as universal keys for queries in DB.<br>
Adding location to USR makes them less usable in index if fast
incremental re-index is going to be implemented vs. full reparse on
each change.<br>
<br>
Vladimir.<br>
<blockquote
cite="mid:CANmbtFf8wVzqg12kbqqfhpXPnroGjubjWvq6ndQme_kDHWPk4A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Regards,</div>
<div>Ilya Biryukov</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>