clang API Documentation

Classes | Namespaces | Defines | Typedefs | Enumerations | Functions
DeclBase.h File Reference
#include "clang/AST/AttrIterator.h"
#include "clang/AST/DeclarationName.h"
#include "clang/Basic/Specifiers.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/PrettyStackTrace.h"
#include "clang/AST/DeclNodes.inc"
Include dependency graph for DeclBase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::Decl
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...
struct  clang::Decl::MultipleDC
class  clang::Decl::redecl_iterator
 Iterates through all the redeclarations of the same decl. More...
class  clang::PrettyStackTraceDecl
class  clang::DeclContext
class  clang::DeclContext::decl_iterator
class  clang::DeclContext::specific_decl_iterator< SpecificDecl >
class  clang::DeclContext::filtered_decl_iterator< SpecificDecl, Acceptable >
 Iterates over a filtered subrange of declarations stored in a DeclContext. More...
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
namespace  llvm

Defines

#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

Typedefs

typedef MutableArrayRef
< NamedDecl * > 
clang::DeclContextLookupResult
typedef ArrayRef< NamedDecl * > clang::DeclContextLookupConstResult

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

Functions

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

Define Documentation

#define ABSTRACT_DECL (   DECL)

Definition at line 77 of file DeclBase.h.

#define DECL (   DERIVED,
  BASE 
)    DERIVED,

Definition at line 76 of file DeclBase.h.

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

Definition at line 78 of file DeclBase.h.

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

Definition at line 80 of file DeclBase.h.