clang API Documentation
#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"
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 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 | |||
| ) |
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 | |||
| ) |
case Type::CLASS: \
print##CLASS##Before(cast<CLASS##Type>(T), OS); \
break;
Definition at line 106 of file TypePrinter.cpp.
| #define TYPE | ( | CLASS, | |
| PARENT | |||
| ) |
case Type::CLASS: \ print##CLASS##After(cast<CLASS##Type>(T), OS); \ break;
Definition at line 106 of file TypePrinter.cpp.
| static void AppendTypeQualList | ( | raw_ostream & | OS, |
| unsigned | TypeQuals | ||
| ) | [static] |
Definition at line 113 of file TypePrinter.cpp.
References clang::Qualifiers::Const, clang::Qualifiers::Restrict, and clang::Qualifiers::Volatile.