clang 20.0.0git
Macros | Functions
DeclPrinter.cpp File Reference
#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)
 

Macro Definition Documentation

◆ ATTR [1/2]

#define ATTR (   X)

◆ ATTR [2/2]

#define ATTR (   X)

◆ PRAGMA_SPELLING_ATTR [1/2]

#define PRAGMA_SPELLING_ATTR (   X)    case attr::X:

◆ PRAGMA_SPELLING_ATTR [2/2]

#define PRAGMA_SPELLING_ATTR (   X)    case attr::X:

Function Documentation

◆ GetBaseType()

static QualType GetBaseType ( QualType  T)
static

◆ getDeclType()

static QualType getDeclType ( Decl D)
static

Definition at line 184 of file DeclPrinter.cpp.

References D.

◆ getPosAsWritten()

static DeclPrinter::AttrPosAsWritten getPosAsWritten ( const Attr A,
const Decl D 
)
static

◆ MaybePrintTagKeywordIfSupressingScopes()

static void MaybePrintTagKeywordIfSupressingScopes ( PrintingPolicy Policy,
QualType  T,
llvm::raw_ostream &  Out 
)
static

◆ printExplicitSpecifier()

static void printExplicitSpecifier ( ExplicitSpecifier  ES,
llvm::raw_ostream &  Out,
PrintingPolicy Policy,
unsigned  Indentation,
const ASTContext Context 
)
static