clang 20.0.0git
Classes | Namespaces | Macros | Enumerations | Functions
DeclBase.h File Reference
#include "clang/AST/ASTDumperUtils.h"
#include "clang/AST/AttrIterator.h"
#include "clang/AST/DeclID.h"
#include "clang/AST/DeclarationName.h"
#include "clang/AST/SelectorLocationsKind.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/Specifiers.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/iterator.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/VersionTuple.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <iterator>
#include <string>
#include <type_traits>
#include <utility>
#include "clang/AST/DeclNodes.inc"

Go to the source code of this file.

Classes

class  clang::Decl
 Decl - This represents one declaration (or definition), e.g. More...
 
struct  clang::Decl::EmptyShell
 A placeholder type used to construct an empty shell of a decl-derived type that will be filled in later (e.g., by some deserialization method). More...
 
class  clang::Decl::redecl_iterator
 Iterates through all the redeclarations of the same decl. More...
 
class  clang::PrettyStackTraceDecl
 PrettyStackTraceDecl - If a crash occurs, indicate that it happened when doing something to a specific decl. More...
 
struct  llvm::PointerLikeTypeTraits<::clang::NamedDecl * >
 
class  clang::DeclListNode
 A list storing NamedDecls in the lookup tables. More...
 
class  clang::DeclListNode::iterator
 
class  clang::DeclContextLookupResult
 The results of name lookup within a DeclContext. More...
 
class  clang::DeclContext
 DeclContext - This is used only as base class of specific decl types that can act as declaration contexts. More...
 
class  clang::DeclContext::decl_iterator
 decl_iterator - Iterates through the declarations stored within this context. More...
 
class  clang::DeclContext::specific_decl_iterator< SpecificDecl >
 specific_decl_iterator - Iterates over a subrange of declarations stored in a DeclContext, providing only those that are of type SpecificDecl (or a class derived from it). More...
 
class  clang::DeclContext::filtered_decl_iterator< SpecificDecl, Acceptable >
 Iterates over a filtered subrange of declarations stored in a DeclContext. More...
 
struct  clang::DeclContext::udir_iterator
 
struct  clang::cast_convert_decl_context< ToTy, IsKnownSubtype >
 
struct  clang::cast_convert_decl_context< ToTy, true >
 
struct  llvm::isa_impl< To, ::clang::DeclContext >
 isa<T>(DeclContext*) More...
 
struct  llvm::cast_convert_val< ToTy, const ::clang::DeclContext, const ::clang::DeclContext >
 cast<T>(DeclContext*) More...
 
struct  llvm::cast_convert_val< ToTy, ::clang::DeclContext, ::clang::DeclContext >
 
struct  llvm::cast_convert_val< ToTy, const ::clang::DeclContext *, const ::clang::DeclContext * >
 
struct  llvm::cast_convert_val< ToTy, ::clang::DeclContext *, ::clang::DeclContext * >
 
struct  llvm::cast_convert_val< ::clang::DeclContext, FromTy, FromTy >
 Implement cast_convert_val for Decl -> DeclContext conversions. More...
 
struct  llvm::cast_convert_val< ::clang::DeclContext, FromTy *, FromTy * >
 
struct  llvm::cast_convert_val< const ::clang::DeclContext, FromTy, FromTy >
 
struct  llvm::cast_convert_val< const ::clang::DeclContext, FromTy *, FromTy * >
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
 

Macros

#define DECL(DERIVED, BASE)   DERIVED,
 
#define ABSTRACT_DECL(DECL)
 
#define DECL_RANGE(BASE, START, END)    first##BASE = START, last##BASE = END,
 
#define LAST_DECL_RANGE(BASE, START, END)    first##BASE = START, last##BASE = END
 

Enumerations

enum  clang::AvailabilityResult { clang::AR_Available = 0 , clang::AR_NotYetIntroduced , clang::AR_Deprecated , clang::AR_Unavailable }
 Captures the result of checking the availability of a declaration. More...
 
enum class  clang::DeductionCandidate : unsigned char { clang::Normal , clang::Copy , clang::Aggregate }
 Only used by CXXDeductionGuideDecl. More...
 

Functions

bool clang::declaresSameEntity (const Decl *D1, const Decl *D2)
 Determine whether two declarations declare the same entity.
 

Macro Definition Documentation

◆ ABSTRACT_DECL

#define ABSTRACT_DECL (   DECL)

Definition at line 91 of file DeclBase.h.

◆ DECL

#define DECL (   DERIVED,
  BASE 
)    DERIVED,

Definition at line 90 of file DeclBase.h.

◆ DECL_RANGE

#define DECL_RANGE (   BASE,
  START,
  END 
)     first##BASE = START, last##BASE = END,

Definition at line 92 of file DeclBase.h.

◆ LAST_DECL_RANGE

#define LAST_DECL_RANGE (   BASE,
  START,
  END 
)     first##BASE = START, last##BASE = END

Definition at line 94 of file DeclBase.h.