|
clang 22.0.0git
|
Public Member Functions | |
| Impl (SyntaxTree::Impl &T1, SyntaxTree::Impl &T2, const ComparisonOptions &Options) | |
| void | computeMapping () |
| Matches nodes one-by-one based on their similarity. | |
| void | computeChangeKinds (Mapping &M) |
| NodeId | getMapped (const std::unique_ptr< SyntaxTree::Impl > &Tree, NodeId Id) const |
Public Attributes | |
| SyntaxTree::Impl & | T1 |
| SyntaxTree::Impl & | T2 |
| Mapping | TheMapping |
Friends | |
| class | ZhangShashaMatcher |
Definition at line 58 of file ASTDiff.cpp.
| clang::diff::ASTDiff::Impl::Impl | ( | SyntaxTree::Impl & | T1, |
| SyntaxTree::Impl & | T2, | ||
| const ComparisonOptions & | Options ) |
Definition at line 903 of file ASTDiff.cpp.
References computeChangeKinds(), computeMapping(), T1, T2, and TheMapping.
| void clang::diff::ASTDiff::Impl::computeChangeKinds | ( | Mapping & | M | ) |
Definition at line 917 of file ASTDiff.cpp.
References clang::diff::Node::Change, clang::diff::Delete, clang::diff::Insert, clang::diff::NodeId::isInvalid(), clang::diff::Move, T1, T2, clang::diff::Update, and clang::diff::UpdateMove.
Referenced by Impl().
| void clang::diff::ASTDiff::Impl::computeMapping | ( | ) |
Matches nodes one-by-one based on their similarity.
Definition at line 910 of file ASTDiff.cpp.
References TheMapping.
Referenced by Impl().
|
inline |
Definition at line 72 of file ASTDiff.cpp.
References T1, T2, and TheMapping.
|
friend |
Definition at line 109 of file ASTDiff.cpp.
References ZhangShashaMatcher.
Referenced by ZhangShashaMatcher.
| SyntaxTree::Impl& clang::diff::ASTDiff::Impl::T1 |
Definition at line 60 of file ASTDiff.cpp.
Referenced by computeChangeKinds(), getMapped(), and Impl().
| SyntaxTree::Impl & clang::diff::ASTDiff::Impl::T2 |
Definition at line 60 of file ASTDiff.cpp.
Referenced by computeChangeKinds(), getMapped(), and Impl().
| Mapping clang::diff::ASTDiff::Impl::TheMapping |
Definition at line 61 of file ASTDiff.cpp.
Referenced by computeMapping(), getMapped(), and Impl().