clang 22.0.0git
ASTDiff.cpp File Reference
#include "clang/Tooling/ASTDiff/ASTDiff.h"
#include "clang/AST/ParentMapContext.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/PriorityQueue.h"
#include <limits>
#include <memory>
#include <optional>
#include <unordered_set>

Go to the source code of this file.

Classes

class  clang::diff::ASTDiff::Impl
class  clang::diff::SyntaxTree::Impl
 Represents the AST of a TranslationUnit. More...
struct  clang::diff::SNodeId
 Identifies a node in a subtree by its postorder offset, starting at 1. More...
class  clang::diff::Subtree
class  clang::diff::ZhangShashaMatcher
 Implementation of Zhang and Shasha's Algorithm for tree edit distance. More...

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::diff

Functions

static bool clang::diff::isSpecializedNodeExcluded (const Decl *D)
static bool clang::diff::isSpecializedNodeExcluded (const Stmt *S)
static bool clang::diff::isSpecializedNodeExcluded (CXXCtorInitializer *I)
template<class T>
static bool clang::diff::isNodeExcluded (const SourceManager &SrcMgr, T *N)
static std::vector< NodeIdclang::diff::getSubtreePostorder (const SyntaxTree::Impl &Tree, NodeId Root)
static std::vector< NodeIdclang::diff::getSubtreeBfs (const SyntaxTree::Impl &Tree, NodeId Root)
static const DeclContextclang::diff::getEnclosingDeclContext (ASTContext &AST, const Stmt *S)
static std::string clang::diff::getInitializerValue (const CXXCtorInitializer *Init, const PrintingPolicy &TypePP)

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant