clang: clang::diff Namespace Reference (original) (raw)

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...
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)

DynTypedNode

ChangeKind

Enumerator
None
Delete
Update
Insert
Move
UpdateMove

Definition at line 28 of file ASTDiff.h.

getEnclosingDeclContext()

getInitializerValue()

getSubtreeBfs()

getSubtreePostorder()

isNodeExcluded()

isSpecializedNodeExcluded() [1/3]

static bool clang::diff::isSpecializedNodeExcluded ( const Decl * D) static

isSpecializedNodeExcluded() [2/3]

static bool clang::diff::isSpecializedNodeExcluded ( const Stmt * S) static

isSpecializedNodeExcluded() [3/3]