mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-18 06:12:46 -06:00
Developing Indexer
This commit is contained in:
parent
2ff039022b
commit
f2937c3de0
1 changed files with 2 additions and 2 deletions
|
|
@ -292,12 +292,12 @@ bool ClangVisitor::ProcessNode(CXCursor cursor)
|
|||
ClangCursorInfo ref_ci(q >= 0 ? tfn[q].cursor : ref, pp_id);
|
||||
|
||||
ReferenceItem rm;
|
||||
rm.pos = ref_loc.pos;
|
||||
rm.pos = loc.pos;
|
||||
rm.id = ref_ci.Id();
|
||||
Index<ReferenceItem>& rd = ref_done.GetAdd(ref_loc.path);
|
||||
if(rm.id.GetCount() && rd.Find(rm) < 0) {
|
||||
rd.Add(rm);
|
||||
refs.GetAdd(ref_loc.path).Add(rm);
|
||||
refs.GetAdd(loc.path).Add(rm);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue