clang 22.0.0git
|
Classes | |
class | ASTDiff |
struct | ComparisonOptions |
struct | Node |
Represents a Clang AST node, alongside some additional information. More... | |
struct | NodeId |
Within a tree, this identifies a node by its preorder offset. More... | |
struct | SNodeId |
Identifies a node in a subtree by its postorder offset, starting at 1. More... | |
class | Subtree |
class | SyntaxTree |
SyntaxTree objects represent subtrees of the AST. More... | |
class | ZhangShashaMatcher |
Implementation of Zhang and Shasha's Algorithm for tree edit distance. More... |
Typedefs | |
using | DynTypedNode = DynTypedNode |
Enumerations | |
enum | ChangeKind { None , Delete , Update , Insert , Move , UpdateMove } |
Functions | |
static bool | isSpecializedNodeExcluded (const Decl *D) |
static bool | isSpecializedNodeExcluded (const Stmt *S) |
static bool | isSpecializedNodeExcluded (CXXCtorInitializer *I) |
template<class T> | |
static bool | isNodeExcluded (const SourceManager &SrcMgr, T *N) |
static std::vector< NodeId > | getSubtreePostorder (const SyntaxTree::Impl &Tree, NodeId Root) |
static std::vector< NodeId > | getSubtreeBfs (const SyntaxTree::Impl &Tree, NodeId Root) |
static const DeclContext * | getEnclosingDeclContext (ASTContext &AST, const Stmt *S) |
static std::string | getInitializerValue (const CXXCtorInitializer *Init, const PrintingPolicy &TypePP) |
Definition at line 18 of file ASTDiffInternal.h.
|
static |
Definition at line 383 of file ASTDiff.cpp.
References clang::Decl::getDeclContext(), and clang::ASTContext::getParents().
Referenced by clang::diff::SyntaxTree::Impl::getStmtValue().
|
static |
Definition at line 397 of file ASTDiff.cpp.
References clang::QualType::getAsString(), and clang::Init.
Referenced by clang::diff::SyntaxTree::Impl::getNodeValue().
|
static |
Definition at line 293 of file ASTDiff.cpp.
References clang::diff::Node::Children, and clang::diff::SyntaxTree::Impl::getNode().
|
static |
Definition at line 280 of file ASTDiff.cpp.
References clang::diff::Node::Children, std::function, and clang::diff::SyntaxTree::Impl::getNode().
Referenced by clang::diff::Subtree::Subtree().
|
static |
Definition at line 172 of file ASTDiff.cpp.
References isSpecializedNodeExcluded(), clang::SourceLocation::isValid(), and clang::T.
Definition at line 165 of file ASTDiff.cpp.
References clang::Decl::isImplicit().
Referenced by isNodeExcluded().
Definition at line 166 of file ASTDiff.cpp.
|
static |
Definition at line 167 of file ASTDiff.cpp.
References clang::CXXCtorInitializer::isWritten().