clang  3.7.0
Macros | Functions
ASTDumper.cpp File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/CommentVisitor.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclLookups.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclVisitor.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/AST/TypeVisitor.h"
#include "clang/Basic/Module.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/Support/raw_ostream.h"
#include "clang/Basic/AttrList.inc"
#include "clang/AST/AttrDump.inc"
#include "clang/AST/DeclNodes.inc"
Include dependency graph for ASTDumper.cpp:

Go to the source code of this file.

Macros

#define ATTR(X)   case attr::X: OS << #X; break;
 
#define DECL(DERIVED, BASE)
 
#define ABSTRACT_DECL(DECL)
 

Functions

static void dumpPreviousDeclImpl (raw_ostream &OS,...)
 
template<typename T >
static void dumpPreviousDeclImpl (raw_ostream &OS, const Mergeable< T > *D)
 
template<typename T >
static void dumpPreviousDeclImpl (raw_ostream &OS, const Redeclarable< T > *D)
 
static void dumpPreviousDecl (raw_ostream &OS, const Decl *D)
 
static void dumpBasePath (raw_ostream &OS, const CastExpr *Node)
 

Macro Definition Documentation

#define ABSTRACT_DECL (   DECL)
#define ATTR (   X)    case attr::X: OS << #X; break;
#define DECL (   DERIVED,
  BASE 
)
Value:
case Decl::DERIVED: \
return dumpPreviousDeclImpl(OS, cast<DERIVED##Decl>(D));
static void dumpPreviousDeclImpl(raw_ostream &OS,...)
Definition: ASTDumper.cpp:825
return(x >> y)|(x<< (32-y))

Function Documentation

static void dumpBasePath ( raw_ostream &  OS,
const CastExpr Node 
)
static
static void dumpPreviousDecl ( raw_ostream &  OS,
const Decl D 
)
static

Dump the previous declaration in the redeclaration chain for a declaration, if any.

Definition at line 843 of file ASTDumper.cpp.

References clang::Decl::getKind().

static void dumpPreviousDeclImpl ( raw_ostream &  OS,
  ... 
)
static

Definition at line 825 of file ASTDumper.cpp.

template<typename T >
static void dumpPreviousDeclImpl ( raw_ostream &  OS,
const Mergeable< T > *  D 
)
static

Definition at line 828 of file ASTDumper.cpp.

References clang::Mergeable< decl_type >::getFirstDecl().

template<typename T >
static void dumpPreviousDeclImpl ( raw_ostream &  OS,
const Redeclarable< T > *  D 
)
static