#include "clang/AST/PrettyPrinter.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/Expr.h"
#include "clang/AST/NestedNameSpecifier.h"
#include "clang/AST/TemplateBase.h"
#include "clang/AST/TemplateName.h"
#include "clang/AST/Type.h"
#include "clang/Basic/AddressSpaces.h"
#include "clang/Basic/ExceptionSpecificationType.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/Specifiers.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SaveAndRestore.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <string>
#include "clang/AST/TypeNodes.def"
#include "clang/Basic/AttrList.inc"
Go to the source code of this file.
◆ ABSTRACT_TYPE [1/3]
#define ABSTRACT_TYPE |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
◆ ABSTRACT_TYPE [2/3]
#define ABSTRACT_TYPE |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
◆ ABSTRACT_TYPE [3/3]
#define ABSTRACT_TYPE |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
◆ ATTR
#define ATTR |
( |
|
NAME | ) |
case attr::NAME: |
◆ DECL_OR_TYPE_ATTR
#define DECL_OR_TYPE_ATTR |
( |
|
NAME | ) |
|
◆ TYPE [1/3]
#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);
The base class of the type hierarchy.
Like System, but searched after the system directories.
Definition at line 126 of file TypePrinter.cpp.
◆ TYPE [2/3]
#define TYPE |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:case Type::CLASS: \
print##CLASS##Before(cast<CLASS##Type>(T), OS); \
break;
Definition at line 126 of file TypePrinter.cpp.
◆ TYPE [3/3]
#define TYPE |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:case Type::CLASS: \
print##CLASS##
After(cast<CLASS##Type>(T), OS); \
break;
Like System, but searched after the system directories.
Definition at line 126 of file TypePrinter.cpp.
◆ TYPE_ATTR
#define TYPE_ATTR |
( |
|
NAME | ) |
|
◆ AppendTypeQualList()
static void AppendTypeQualList |
( |
raw_ostream & |
OS, |
|
|
unsigned |
TypeQuals, |
|
|
bool |
HasRestrictKeyword |
|
) |
| |
|
static |
◆ getArgument() [1/2]
◆ getArgument() [2/2]
◆ printTo()
◆ skipTopLevelReferences()
◆ splitAccordingToPolicy()
Definition at line 165 of file TypePrinter.cpp.
References clang::Auto, clang::Qualifiers::empty(), clang::QualType::getCanonicalType(), clang::ComplexType::getElementType(), clang::BuiltinType::getName(), clang::PointerType::getPointeeType(), clang::BlockPointerType::getPointeeType(), clang::QualType::getQualifiers(), clang::Type::getTypeClass(), clang::Qualifiers::isEmptyWhenPrinted(), clang::Type::isObjCClassType(), clang::Type::isObjCIdType(), clang::Type::isObjCQualifiedClassType(), clang::Type::isObjCQualifiedIdType(), clang::Type::isSpecifierType(), Paren, clang::Qualifiers::print(), clang::PrintingPolicy::PrintCanonicalTypes, clang::SplitQualType::Quals, clang::QualType::split(), Split, and clang::SplitQualType::Ty.