21#include "clang/AST/ASTContext.h"
22#include "clang/AST/Decl.h"
38 if (!isa<NamedDecl>(D))
41 const NamedDecl* ND = cast<NamedDecl>(D);
42 clang::PrintingPolicy policy(ND->getASTContext().getPrintingPolicy());
44 ND->getNameForDiagnostic(stream, policy,
false);
54 if (qt.isConstQualified()) {
58 if (qt->isArrayType()) {
60 qt = llvm::cast<clang::ArrayType>(qt)->getElementType();
63 else if (qt->isReferenceType()) {
65 qt = llvm::cast<clang::ReferenceType>(qt)->getPointeeType();
68 else if (qt->isPointerType()) {
70 if (qt.isConstQualified()) {
73 qt = llvm::cast<clang::PointerType>(qt)->getPointeeType();
76 else if (qt->isMemberPointerType()) {
77 qt = llvm::cast<clang::MemberPointerType>(qt)->getPointeeType();
82 if (qt->isBuiltinType()) {
85 if (qt.isConstQualified()) {
The file contains a base class of TCling*Info classes.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t property
virtual ~TClingDeclInfo()
virtual const char * Name() const
virtual bool IsValid() const
long Property(long property, clang::QualType &qt) const
virtual const clang::Decl * GetDecl() const