Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp474 struct SNodeId { struct
478 explicit SNodeId() = default;
483 SNodeId operator+(int Other) const { return SNodeId(Id + Other); } in operator +() argument
496 std::vector<SNodeId> KeyRoots;
511 SNodeId getLeftMostDescendant(SNodeId Id) const { in getLeftMostDescendant()
529 SNodeId SI(I + 1); in setLeftMostDescendants()
581 std::vector<std::pair<SNodeId, SNodeId>> TreePairs; in getMatchingNodes()
587 TreePairs.emplace_back(SNodeId(S1.getSize()), SNodeId(S2.getSize())); in getMatchingNodes()
645 double getUpdateCost(SNodeId Id1, SNodeId Id2) { in getUpdateCost()
652 for (SNodeId Id1 : S1.KeyRoots) in computeTreeDist()
[all …]