Lines Matching refs:Impl

58 class ASTDiff::Impl {  class in clang::diff::ASTDiff
60 SyntaxTree::Impl &T1, &T2;
63 Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2,
72 NodeId getMapped(const std::unique_ptr<SyntaxTree::Impl> &Tree, in getMapped()
113 class SyntaxTree::Impl { class in clang::diff::SyntaxTree
115 Impl(SyntaxTree *Parent, ASTContext &AST);
117 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST);
118 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST);
120 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
126 : Impl(Parent, dyn_cast<Decl>(Node), AST) {} in Impl()
192 SyntaxTree::Impl &Tree;
194 PreorderVisitor(SyntaxTree::Impl &Tree) : Tree(Tree) {} in PreorderVisitor()
261 SyntaxTree::Impl::Impl(SyntaxTree *Parent, ASTContext &AST) in Impl() function in clang::diff::SyntaxTree::Impl
266 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST) in Impl() function in clang::diff::SyntaxTree::Impl
267 : Impl(Parent, AST) { in Impl()
273 SyntaxTree::Impl::Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST) in Impl() function in clang::diff::SyntaxTree::Impl
274 : Impl(Parent, AST) { in Impl()
280 static std::vector<NodeId> getSubtreePostorder(const SyntaxTree::Impl &Tree, in getSubtreePostorder()
293 static std::vector<NodeId> getSubtreeBfs(const SyntaxTree::Impl &Tree, in getSubtreeBfs()
304 void SyntaxTree::Impl::initTree() { in initTree()
318 void SyntaxTree::Impl::setLeftMostDescendants() { in setLeftMostDescendants()
330 int SyntaxTree::Impl::getNumberOfDescendants(NodeId Id) const { in getNumberOfDescendants()
334 bool SyntaxTree::Impl::isInSubtree(NodeId Id, NodeId SubtreeRoot) const { in isInSubtree()
338 int SyntaxTree::Impl::findPositionInParent(NodeId Id, bool Shifted) const { in findPositionInParent()
358 SyntaxTree::Impl::getRelativeName(const NamedDecl *ND, in getRelativeName()
379 std::string SyntaxTree::Impl::getRelativeName(const NamedDecl *ND) const { in getRelativeName()
408 std::string SyntaxTree::Impl::getNodeValue(NodeId Id) const { in getNodeValue()
412 std::string SyntaxTree::Impl::getNodeValue(const Node &N) const { in getNodeValue()
423 std::string SyntaxTree::Impl::getDeclValue(const Decl *D) const { in getDeclValue()
446 std::string SyntaxTree::Impl::getStmtValue(const Stmt *S) const { in getStmtValue()
488 const SyntaxTree::Impl &Tree;
497 Subtree(const SyntaxTree::Impl &Tree, NodeId SubtreeRoot) : Tree(Tree) { in Subtree()
559 const ASTDiff::Impl &DiffImpl;
565 ZhangShashaMatcher(const ASTDiff::Impl &DiffImpl, const SyntaxTree::Impl &T1, in ZhangShashaMatcher()
566 const SyntaxTree::Impl &T2, NodeId Id1, NodeId Id2) in ZhangShashaMatcher()
709 const SyntaxTree::Impl &Tree;
710 HeightLess(const SyntaxTree::Impl &Tree) : Tree(Tree) {} in HeightLess()
720 const SyntaxTree::Impl &Tree;
726 PriorityList(const SyntaxTree::Impl &Tree) in PriorityList()
756 bool ASTDiff::Impl::identical(NodeId Id1, NodeId Id2) const { in identical()
769 bool ASTDiff::Impl::isMatchingPossible(NodeId Id1, NodeId Id2) const { in isMatchingPossible()
773 bool ASTDiff::Impl::haveSameParents(const Mapping &M, NodeId Id1, in haveSameParents()
781 void ASTDiff::Impl::addOptimalMapping(Mapping &M, NodeId Id1, in addOptimalMapping()
796 double ASTDiff::Impl::getJaccardSimilarity(const Mapping &M, NodeId Id1, in getJaccardSimilarity()
815 NodeId ASTDiff::Impl::findCandidate(const Mapping &M, NodeId Id1) const { in findCandidate()
832 void ASTDiff::Impl::matchBottomUp(Mapping &M) const { in matchBottomUp()
857 Mapping ASTDiff::Impl::matchTopDown() const { in matchTopDown()
902 ASTDiff::Impl::Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2, in Impl() function in clang::diff::ASTDiff::Impl
909 void ASTDiff::Impl::computeMapping() { in computeMapping()
916 void ASTDiff::Impl::computeChangeKinds(Mapping &M) { in computeChangeKinds()
961 : DiffImpl(std::make_unique<Impl>(*T1.TreeImpl, *T2.TreeImpl, Options)) {} in ASTDiff()
970 : TreeImpl(std::make_unique<SyntaxTree::Impl>( in SyntaxTree()