reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  221     N.RightMostDescendant = Id - 1;
  222     assert(N.RightMostDescendant >= 0 &&
  223            N.RightMostDescendant < Tree.getSize() &&
  225     if (N.isLeaf())
  227     N.Height = 1;
  228     for (NodeId Child : N.Children)
  229       N.Height = std::max(N.Height, 1 + Tree.getNode(Child).Height);
  229       N.Height = std::max(N.Height, 1 + Tree.getNode(Child).Height);