Home
last modified time | relevance | path

Searched refs:SNodeId (Results 1 – 1 of 1) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp473 struct SNodeId { struct
477 explicit SNodeId() = default;
482 SNodeId operator+(int Other) const { return SNodeId(Id + Other); } in operator +() argument
495 std::vector<SNodeId> KeyRoots;
510 SNodeId getLeftMostDescendant(SNodeId Id) const { in getLeftMostDescendant()
528 SNodeId SI(I + 1); in setLeftMostDescendants()
580 std::vector<std::pair<SNodeId, SNodeId>> TreePairs; in getMatchingNodes()
586 TreePairs.emplace_back(SNodeId(S1.getSize()), SNodeId(S2.getSize())); in getMatchingNodes()
644 double getUpdateCost(SNodeId Id1, SNodeId Id2) { in getUpdateCost()
651 for (SNodeId Id1 : S1.KeyRoots) in computeTreeDist()
[all …]