clang 24.0.0git
ErrorRecovery.cpp File Reference
#include "ErrorRecovery.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclContextInternals.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/DeclVisitor.h"
#include "clang/AST/GlobalDecl.h"
#include "clang/Sema/Sema.h"
#include "clang/AST/CXXRecordDeclDefinitionBits.def"

Go to the source code of this file.

Classes

class  clang::ASTDeclUnmerger
 ASTDeclUnmerger handles two cases based on whether a declaration should be discarded or belongs to a previous PTU: it unlinks discarded declarations from the compiler's shared state, or restores their previous state using the MutationRecord information. More...

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.

Macros

#define DEBUG_TYPE   "clang-repl"
#define FIELD(Name, Width, Merge)
#define FIELD(Name, Width, Merge)

Functions

static DeclShape clang::classifyShape (const Decl *D)
template<typename T>
static bool clang::differsFromLast (IncrementalStateTracker &Tracker, const Decl *Owner, MutationKind K, const T &LiveValue)
template<typename FootprintT, typename OwnerT>
static FootprintT clang::Footprint (const OwnerT &Owner)
static bool clang::isReachableFromThisTU (const Decl *D, const TranslationUnitDecl *ThisTU)

Variables

static constexpr uint32_t clang::KindsNeedingVerification
 These kinds have listeners, but listeners alone cannot reliably detect real changes.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "clang-repl"

Definition at line 26 of file ErrorRecovery.cpp.

◆ FIELD [1/2]

#define FIELD ( Name,
Width,
Merge )
Value:
FP.Name = Live.Name;

◆ FIELD [2/2]

#define FIELD ( Name,
Width,
Merge )
Value:
Live.Name = FP.Name;