clang
7.0.0
|
#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"
Go to the source code of this file.
Macros | |
#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, bool HasRestrictKeyword) |
static QualType | skipTopLevelReferences (QualType T) |
static const TemplateArgument & | getArgument (const TemplateArgument &A) |
static const TemplateArgument & | getArgument (const TemplateArgumentLoc &A) |
template<typename TA > | |
static void | printTo (raw_ostream &OS, ArrayRef< TA > Args, const PrintingPolicy &Policy, bool SkipBrackets) |
#define ABSTRACT_TYPE | ( | CLASS, | |
PARENT | |||
) |
Definition at line 127 of file TypePrinter.cpp.
#define ABSTRACT_TYPE | ( | CLASS, | |
PARENT | |||
) |
Definition at line 127 of file TypePrinter.cpp.
#define ABSTRACT_TYPE | ( | CLASS, | |
PARENT | |||
) |
Definition at line 127 of file TypePrinter.cpp.
#define TYPE | ( | CLASS, | |
PARENT | |||
) |
Definition at line 128 of file TypePrinter.cpp.
#define TYPE | ( | CLASS, | |
PARENT | |||
) |
Definition at line 128 of file TypePrinter.cpp.
#define TYPE | ( | CLASS, | |
PARENT | |||
) |
Definition at line 128 of file TypePrinter.cpp.
|
static |
Definition at line 136 of file TypePrinter.cpp.
References clang::Auto, clang::Qualifiers::Const, clang::Qualifiers::empty(), 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::SplitQualType::Quals, clang::Qualifiers::Restrict, clang::QualType::split(), clang::SplitQualType::Ty, and clang::Qualifiers::Volatile.
Referenced by clang::getParameterABISpelling().
|
static |
Definition at line 1648 of file TypePrinter.cpp.
Referenced by clang::CXXDeleteExpr::getDestroyedType().
|
static |
Definition at line 1650 of file TypePrinter.cpp.
|
static |
Definition at line 1655 of file TypePrinter.cpp.
Definition at line 391 of file TypePrinter.cpp.
References clang::Type::getAs().