clang API Documentation

Defines | Functions
TypePrinter.cpp File Reference
#include "clang/AST/PrettyPrinter.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/Expr.h"
#include "clang/AST/Type.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/SaveAndRestore.h"
#include "llvm/Support/raw_ostream.h"
#include "clang/AST/TypeNodes.def"
Include dependency graph for TypePrinter.cpp:

Go to the source code of this file.

Defines

#define ABSTRACT_TYPE(CLASS, PARENT)
#define TYPE(CLASS, PARENT)
#define ABSTRACT_TYPE(CLASS, PARENT)
#define TYPE(CLASS, PARENT)
#define ABSTRACT_TYPE(CLASS, PARENT)
#define TYPE(CLASS, PARENT)

Functions

static void AppendTypeQualList (raw_ostream &OS, unsigned TypeQuals)

Define Documentation

#define ABSTRACT_TYPE (   CLASS,
  PARENT 
)

Definition at line 105 of file TypePrinter.cpp.

#define ABSTRACT_TYPE (   CLASS,
  PARENT 
)

Definition at line 105 of file TypePrinter.cpp.

#define ABSTRACT_TYPE (   CLASS,
  PARENT 
)

Definition at line 105 of file TypePrinter.cpp.

#define TYPE (   CLASS,
  PARENT 
)
Value:
void print##CLASS##Before(const CLASS##Type *T, raw_ostream &OS); \
    void print##CLASS##After(const CLASS##Type *T, raw_ostream &OS);

Definition at line 106 of file TypePrinter.cpp.

#define TYPE (   CLASS,
  PARENT 
)
Value:
case Type::CLASS: \
    print##CLASS##Before(cast<CLASS##Type>(T), OS); \
    break;

Definition at line 106 of file TypePrinter.cpp.

#define TYPE (   CLASS,
  PARENT 
)
Value:
case Type::CLASS: \
    print##CLASS##After(cast<CLASS##Type>(T), OS); \
    break;

Definition at line 106 of file TypePrinter.cpp.


Function Documentation

static void AppendTypeQualList ( raw_ostream &  OS,
unsigned  TypeQuals 
) [static]