Lines Matching refs:Impl
57 class ASTDiff::Impl { class in clang::diff::ASTDiff
59 SyntaxTree::Impl &T1, &T2;
62 Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2,
71 NodeId getMapped(const std::unique_ptr<SyntaxTree::Impl> &Tree, in getMapped()
112 class SyntaxTree::Impl { class in clang::diff::SyntaxTree
114 Impl(SyntaxTree *Parent, ASTContext &AST);
116 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST);
117 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST);
119 Impl(SyntaxTree *Parent, in Impl() function in clang::diff::SyntaxTree::Impl
122 : Impl(Parent, dyn_cast<Stmt>(Node), AST) {} in Impl()
124 Impl(SyntaxTree *Parent, in Impl() function in clang::diff::SyntaxTree::Impl
127 : Impl(Parent, dyn_cast<Decl>(Node), AST) {} in Impl()
193 SyntaxTree::Impl &Tree;
195 PreorderVisitor(SyntaxTree::Impl &Tree) : Tree(Tree) {} in PreorderVisitor()
262 SyntaxTree::Impl::Impl(SyntaxTree *Parent, ASTContext &AST) in Impl() function in clang::diff::SyntaxTree::Impl
267 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST) in Impl() function in clang::diff::SyntaxTree::Impl
268 : Impl(Parent, AST) { in Impl()
274 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST) in Impl() function in clang::diff::SyntaxTree::Impl
275 : Impl(Parent, AST) { in Impl()
281 static std::vector<NodeId> getSubtreePostorder(const SyntaxTree::Impl &Tree, in getSubtreePostorder()
294 static std::vector<NodeId> getSubtreeBfs(const SyntaxTree::Impl &Tree, in getSubtreeBfs()
305 void SyntaxTree::Impl::initTree() { in initTree()
319 void SyntaxTree::Impl::setLeftMostDescendants() { in setLeftMostDescendants()
331 int SyntaxTree::Impl::getNumberOfDescendants(NodeId Id) const { in getNumberOfDescendants()
335 bool SyntaxTree::Impl::isInSubtree(NodeId Id, NodeId SubtreeRoot) const { in isInSubtree()
339 int SyntaxTree::Impl::findPositionInParent(NodeId Id, bool Shifted) const { in findPositionInParent()
359 SyntaxTree::Impl::getRelativeName(const NamedDecl *ND, in getRelativeName()
380 std::string SyntaxTree::Impl::getRelativeName(const NamedDecl *ND) const { in getRelativeName()
409 std::string SyntaxTree::Impl::getNodeValue(NodeId Id) const { in getNodeValue()
413 std::string SyntaxTree::Impl::getNodeValue(const Node &N) const { in getNodeValue()
424 std::string SyntaxTree::Impl::getDeclValue(const Decl *D) const { in getDeclValue()
447 std::string SyntaxTree::Impl::getStmtValue(const Stmt *S) const { in getStmtValue()
489 const SyntaxTree::Impl &Tree;
498 Subtree(const SyntaxTree::Impl &Tree, NodeId SubtreeRoot) : Tree(Tree) { in Subtree()
560 const ASTDiff::Impl &DiffImpl;
566 ZhangShashaMatcher(const ASTDiff::Impl &DiffImpl, const SyntaxTree::Impl &T1, in ZhangShashaMatcher()
567 const SyntaxTree::Impl &T2, NodeId Id1, NodeId Id2) in ZhangShashaMatcher()
710 const SyntaxTree::Impl &Tree;
711 HeightLess(const SyntaxTree::Impl &Tree) : Tree(Tree) {} in HeightLess()
721 const SyntaxTree::Impl &Tree;
727 PriorityList(const SyntaxTree::Impl &Tree) in PriorityList()
757 bool ASTDiff::Impl::identical(NodeId Id1, NodeId Id2) const { in identical()
770 bool ASTDiff::Impl::isMatchingPossible(NodeId Id1, NodeId Id2) const { in isMatchingPossible()
774 bool ASTDiff::Impl::haveSameParents(const Mapping &M, NodeId Id1, in haveSameParents()
782 void ASTDiff::Impl::addOptimalMapping(Mapping &M, NodeId Id1, in addOptimalMapping()
797 double ASTDiff::Impl::getJaccardSimilarity(const Mapping &M, NodeId Id1, in getJaccardSimilarity()
816 NodeId ASTDiff::Impl::findCandidate(const Mapping &M, NodeId Id1) const { in findCandidate()
833 void ASTDiff::Impl::matchBottomUp(Mapping &M) const { in matchBottomUp()
858 Mapping ASTDiff::Impl::matchTopDown() const { in matchTopDown()
903 ASTDiff::Impl::Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2, in Impl() function in clang::diff::ASTDiff::Impl
910 void ASTDiff::Impl::computeMapping() { in computeMapping()
917 void ASTDiff::Impl::computeChangeKinds(Mapping &M) { in computeChangeKinds()
962 : DiffImpl(std::make_unique<Impl>(*T1.TreeImpl, *T2.TreeImpl, Options)) {} in ASTDiff()
971 : TreeImpl(std::make_unique<SyntaxTree::Impl>( in SyntaxTree()