clang 20.0.0git
|
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/DeclVisitor.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/Basic/Module.h"
#include "clang/Basic/SourceManager.h"
#include "llvm/Support/raw_ostream.h"
#include "clang/Basic/AttrList.inc"
Go to the source code of this file.
Macros | |
#define | ATTR(X) |
#define | PRAGMA_SPELLING_ATTR(X) case attr::X: |
#define | ATTR(X) |
#define | PRAGMA_SPELLING_ATTR(X) case attr::X: |
Functions | |
static QualType | GetBaseType (QualType T) |
static QualType | getDeclType (Decl *D) |
static DeclPrinter::AttrPosAsWritten | getPosAsWritten (const Attr *A, const Decl *D) |
static void | printExplicitSpecifier (ExplicitSpecifier ES, llvm::raw_ostream &Out, PrintingPolicy &Policy, unsigned Indentation, const ASTContext &Context) |
static void | MaybePrintTagKeywordIfSupressingScopes (PrintingPolicy &Policy, QualType T, llvm::raw_ostream &Out) |
#define ATTR | ( | X | ) |
#define ATTR | ( | X | ) |
#define PRAGMA_SPELLING_ATTR | ( | X | ) | case attr::X: |
#define PRAGMA_SPELLING_ATTR | ( | X | ) | case attr::X: |
Definition at line 154 of file DeclPrinter.cpp.
References clang::Type::getAs(), clang::Type::getPointeeType(), clang::Type::isSpecifierType(), and clang::T.
Definition at line 184 of file DeclPrinter.cpp.
References D.
Definition at line 241 of file DeclPrinter.cpp.
References clang::C, D, clang::Decl::getASTContext(), clang::AttributeCommonInfo::getLoc(), clang::Decl::getLocation(), and clang::SourceLocation::isInvalid().
|
static |
Definition at line 636 of file DeclPrinter.cpp.
References clang::Type::isClassType(), clang::Type::isStructureType(), clang::Type::isUnionType(), and clang::T.
|
static |
Definition at line 620 of file DeclPrinter.cpp.
References clang::ExplicitSpecifier::getExpr(), and clang::Stmt::printPretty().