clang
8.0.0
|
#include "clang/AST/TextNodeDumper.h"
Additional Inherited Members | |
![]() | |
ParamTys | P |
Definition at line 125 of file TextNodeDumper.h.
TextNodeDumper::TextNodeDumper | ( | raw_ostream & | OS, |
bool | ShowColors, | ||
const SourceManager * | SM, | ||
const PrintingPolicy & | PrintPolicy, | ||
const comments::CommandTraits * | Traits | ||
) |
Definition at line 51 of file TextNodeDumper.cpp.
Referenced by Visit().
void TextNodeDumper::dumpAccessSpecifier | ( | AccessSpecifier | AS | ) |
Definition at line 403 of file TextNodeDumper.cpp.
References clang::AS_none, clang::AS_private, clang::AS_protected, clang::AS_public, and dumpPointer().
void TextNodeDumper::dumpBareDeclRef | ( | const Decl * | D | ) |
Definition at line 374 of file TextNodeDumper.cpp.
References clang::DeclKindNameColor, clang::DeclNameColor, dumpPointer(), dumpType(), clang::Decl::getDeclKindName(), and clang::NullColor.
Referenced by dumpDeclRef(), Visit(), VisitCXXDeleteExpr(), VisitCXXNewExpr(), VisitDeclRefExpr(), VisitInitListExpr(), and VisitMaterializeTemporaryExpr().
Definition at line 355 of file TextNodeDumper.cpp.
References clang::QualType::getAsString(), clang::QualType::getSplitDesugaredType(), clang::QualType::isNull(), clang::QualType::split(), and clang::TypeColor.
Referenced by dumpType(), Visit(), VisitCompoundAssignOperator(), and VisitObjCMessageExpr().
void TextNodeDumper::dumpDeclRef | ( | const Decl * | D, |
StringRef | Label = {} |
||
) |
Definition at line 425 of file TextNodeDumper.cpp.
References clang::TextTreeStructure::AddChild(), dumpBareDeclRef(), clang::comments::CommandTraits::getBuiltinCommandInfo(), clang::comments::CommandTraits::getCommandInfo(), and clang::comments::CommandInfo::Name.
Referenced by Visit(), VisitDeclarationTemplateArgument(), VisitExprWithCleanups(), VisitInjectedClassNameType(), VisitObjCInterfaceType(), VisitTagType(), VisitTemplateTypeParmType(), VisitTypedefType(), and VisitUnresolvedUsingType().
void TextNodeDumper::dumpLocation | ( | SourceLocation | Loc | ) |
Definition at line 310 of file TextNodeDumper.cpp.
References clang::PresumedLoc::getColumn(), clang::PresumedLoc::getFilename(), clang::PresumedLoc::getLine(), clang::SourceManager::getPresumedLoc(), clang::SourceManager::getSpellingLoc(), clang::PresumedLoc::isInvalid(), clang::LocationColor, and SM.
Referenced by dumpSourceRange(), Visit(), and VisitDependentSizedExtVectorType().
void TextNodeDumper::dumpName | ( | const NamedDecl * | ND | ) |
Definition at line 396 of file TextNodeDumper.cpp.
References clang::DeclNameColor, clang::NamedDecl::getDeclName(), and clang::NamedDecl::getNameAsString().
Referenced by VisitSizeOfPackExpr().
void TextNodeDumper::dumpPointer | ( | const void * | Ptr | ) |
Definition at line 305 of file TextNodeDumper.cpp.
References clang::AddressColor.
Referenced by dumpAccessSpecifier(), dumpBareDeclRef(), Visit(), VisitAddrLabelExpr(), VisitGotoStmt(), VisitMemberExpr(), VisitObjCIvarRefExpr(), VisitSizeOfPackExpr(), and VisitUnresolvedLookupExpr().
void TextNodeDumper::dumpSourceRange | ( | SourceRange | R | ) |
Definition at line 339 of file TextNodeDumper.cpp.
References dumpLocation(), clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), and SM.
Referenced by Visit(), VisitDependentSizedArrayType(), and VisitVariableArrayType().
void TextNodeDumper::dumpType | ( | QualType | T | ) |
Definition at line 369 of file TextNodeDumper.cpp.
References dumpBareType().
Referenced by dumpBareDeclRef(), Visit(), VisitCXXConstructExpr(), VisitCXXUnresolvedConstructExpr(), VisitObjCEncodeExpr(), VisitTypeTemplateArgument(), and VisitUnaryExprOrTypeTraitExpr().
void TextNodeDumper::Visit | ( | const comments::Comment * | C, |
const comments::FullComment * | FC | ||
) |
Definition at line 58 of file TextNodeDumper.cpp.
References clang::CommentColor, dumpPointer(), dumpSourceRange(), clang::comments::Comment::getCommentKindName(), clang::comments::Comment::getSourceRange(), clang::NullColor, TextNodeDumper(), and clang::comments::CommentVisitorBase< llvm::make_const_ptr, TextNodeDumper, void, ParamTys... >::visit().
void TextNodeDumper::Visit | ( | const Attr * | A | ) |
Definition at line 77 of file TextNodeDumper.cpp.
References clang::AttrColor, dumpPointer(), dumpSourceRange(), clang::Attr::getKind(), clang::Attr::getRange(), clang::Attr::isImplicit(), clang::Attr::isInherited(), and clang::attrvisitor::Base< llvm::make_const_ptr, ImplClass, RetTy, ParamTys... >::Visit().
void TextNodeDumper::Visit | ( | const TemplateArgument & | TA, |
SourceRange | R, | ||
const Decl * | From = nullptr , |
||
StringRef | Label = {} |
||
) |
Definition at line 100 of file TextNodeDumper.cpp.
References dumpDeclRef(), dumpSourceRange(), clang::SourceRange::isValid(), and clang::templateargumentvisitor::Base< llvm::make_const_ref, ImplClass, RetTy, ParamTys... >::Visit().
void TextNodeDumper::Visit | ( | const Stmt * | Node | ) |
Definition at line 112 of file TextNodeDumper.cpp.
References dumpPointer(), dumpSourceRange(), dumpType(), clang::Stmt::getSourceRange(), clang::Stmt::getStmtClassName(), clang::NullColor, clang::ObjectKindColor, clang::OK_BitField, clang::OK_ObjCProperty, clang::OK_ObjCSubscript, clang::OK_Ordinary, clang::OK_VectorComponent, clang::StmtColor, clang::ValueKindColor, clang::StmtVisitorBase< llvm::make_const_ptr, ImplClass, RetTy, ParamTys... >::Visit(), clang::VK_LValue, clang::VK_RValue, and clang::VK_XValue.
void TextNodeDumper::Visit | ( | const Type * | T | ) |
Definition at line 166 of file TextNodeDumper.cpp.
References clang::Type::containsUnexpandedParameterPack(), dumpBareType(), dumpPointer(), clang::Type::getLocallyUnqualifiedSingleStepDesugaredType(), clang::Type::getTypeClassName(), clang::Type::isDependentType(), clang::Type::isFromAST(), clang::Type::isInstantiationDependentType(), clang::Type::isVariablyModifiedType(), clang::NullColor, clang::TypeColor, and clang::TypeVisitor< ImplClass, RetTy >::Visit().
void TextNodeDumper::Visit | ( | QualType | T | ) |
Definition at line 209 of file TextNodeDumper.cpp.
References dumpBareType(), dumpPointer(), clang::QualType::getAsOpaquePtr(), clang::Qualifiers::getAsString(), clang::SplitQualType::Quals, and clang::QualType::split().
void TextNodeDumper::Visit | ( | const Decl * | D | ) |
Definition at line 217 of file TextNodeDumper.cpp.
References clang::TextTreeStructure::AddChild(), clang::DeclKindNameColor, dumpLocation(), dumpPointer(), dumpPreviousDecl(), dumpSourceRange(), clang::Decl::getASTContext(), clang::Decl::getDeclContext(), clang::Decl::getDeclKindName(), clang::Decl::getLexicalDeclContext(), clang::Decl::getLocation(), clang::ASTContext::getModulesWithMergedDefinition(), clang::Decl::getOwningModule(), clang::Decl::getSourceRange(), clang::Decl::isFromASTFile(), clang::Decl::isImplicit(), clang::Decl::isInvalidDecl(), clang::Decl::isThisDeclarationReferenced(), clang::Decl::isUsed(), and clang::NullColor.
void TextNodeDumper::Visit | ( | const CXXCtorInitializer * | Init | ) |
Definition at line 261 of file TextNodeDumper.cpp.
References dumpBareDeclRef(), dumpType(), clang::CXXCtorInitializer::getAnyMember(), clang::CXXCtorInitializer::getBaseClass(), clang::TypeSourceInfo::getType(), clang::CXXCtorInitializer::getTypeSourceInfo(), clang::CXXCtorInitializer::isAnyMemberInitializer(), clang::CXXCtorInitializer::isBaseInitializer(), and clang::CXXCtorInitializer::isDelegatingInitializer().
void TextNodeDumper::Visit | ( | const OMPClause * | C | ) |
Definition at line 287 of file TextNodeDumper.cpp.
References clang::AttrColor, dumpPointer(), dumpSourceRange(), clang::OMPClause::getBeginLoc(), clang::OMPClause::getClauseKind(), clang::OMPClause::getEndLoc(), clang::getOpenMPClauseName(), clang::OMPClause::isImplicit(), and clang::NullColor.
void TextNodeDumper::Visit | ( | const BlockDecl::Capture & | C | ) |
Definition at line 275 of file TextNodeDumper.cpp.
References dumpBareDeclRef(), clang::BlockDecl::Capture::getVariable(), clang::BlockDecl::Capture::isByRef(), and clang::BlockDecl::Capture::isNested().
void TextNodeDumper::VisitAddrLabelExpr | ( | const AddrLabelExpr * | Node | ) |
Definition at line 809 of file TextNodeDumper.cpp.
References dumpPointer(), clang::AddrLabelExpr::getLabel(), and clang::NamedDecl::getName().
void TextNodeDumper::VisitArrayType | ( | const ArrayType * | T | ) |
Definition at line 1017 of file TextNodeDumper.cpp.
References clang::Qualifiers::getAsString(), clang::ArrayType::getIndexTypeQualifiers(), clang::ArrayType::getSizeModifier(), clang::ArrayType::Normal, clang::ArrayType::Star, and clang::ArrayType::Static.
Referenced by VisitConstantArrayType(), VisitDependentSizedArrayType(), and VisitVariableArrayType().
void TextNodeDumper::VisitAutoType | ( | const AutoType * | T | ) |
Definition at line 1141 of file TextNodeDumper.cpp.
References clang::AutoType::isDecltypeAuto(), and clang::DeducedType::isDeduced().
void TextNodeDumper::VisitBinaryOperator | ( | const BinaryOperator * | Node | ) |
Definition at line 796 of file TextNodeDumper.cpp.
References clang::BinaryOperator::getOpcode(), and clang::BinaryOperator::getOpcodeStr().
void TextNodeDumper::visitBlockCommandComment | ( | const comments::BlockCommandComment * | C, |
const comments::FullComment * | |||
) |
Definition at line 492 of file TextNodeDumper.cpp.
References clang::comments::BlockCommandComment::getArgText(), clang::comments::BlockCommandComment::getCommandID(), and clang::comments::BlockCommandComment::getNumArgs().
void TextNodeDumper::VisitCallExpr | ( | const CallExpr * | Node | ) |
Definition at line 661 of file TextNodeDumper.cpp.
References clang::CallExpr::usesADL().
void TextNodeDumper::VisitCaseStmt | ( | const CaseStmt * | Node | ) |
Definition at line 656 of file TextNodeDumper.cpp.
References clang::CaseStmt::caseStmtIsGNURange().
void TextNodeDumper::VisitCastExpr | ( | const CastExpr * | Node | ) |
Definition at line 666 of file TextNodeDumper.cpp.
References clang::CastColor, dumpBasePath(), and clang::CastExpr::getCastKindName().
Referenced by VisitImplicitCastExpr().
void TextNodeDumper::VisitCharacterLiteral | ( | const CharacterLiteral * | Node | ) |
Definition at line 722 of file TextNodeDumper.cpp.
References clang::CharacterLiteral::getValue(), and clang::ValueColor.
void TextNodeDumper::VisitCompoundAssignOperator | ( | const CompoundAssignOperator * | Node | ) |
void TextNodeDumper::VisitConstantArrayType | ( | const ConstantArrayType * | T | ) |
Definition at line 1031 of file TextNodeDumper.cpp.
References clang::ConstantArrayType::getSize(), and VisitArrayType().
void TextNodeDumper::VisitCXXBindTemporaryExpr | ( | const CXXBindTemporaryExpr * | Node | ) |
Definition at line 856 of file TextNodeDumper.cpp.
References clang::CXXBindTemporaryExpr::getTemporary().
void TextNodeDumper::VisitCXXBoolLiteralExpr | ( | const CXXBoolLiteralExpr * | Node | ) |
Definition at line 822 of file TextNodeDumper.cpp.
References clang::CXXBoolLiteralExpr::getValue().
void TextNodeDumper::VisitCXXConstructExpr | ( | const CXXConstructExpr * | Node | ) |
Definition at line 843 of file TextNodeDumper.cpp.
References dumpType(), clang::CXXConstructExpr::getConstructor(), clang::ValueDecl::getType(), clang::CXXConstructExpr::isElidable(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), and clang::CXXConstructExpr::requiresZeroInitialization().
void TextNodeDumper::VisitCXXDeleteExpr | ( | const CXXDeleteExpr * | Node | ) |
Definition at line 875 of file TextNodeDumper.cpp.
References dumpBareDeclRef(), clang::CXXDeleteExpr::getOperatorDelete(), clang::CXXDeleteExpr::isArrayForm(), and clang::CXXDeleteExpr::isGlobalDelete().
void TextNodeDumper::VisitCXXDependentScopeMemberExpr | ( | const CXXDependentScopeMemberExpr * | Node | ) |
Definition at line 904 of file TextNodeDumper.cpp.
References clang::CXXDependentScopeMemberExpr::getMember(), and clang::CXXDependentScopeMemberExpr::isArrow().
void TextNodeDumper::VisitCXXFunctionalCastExpr | ( | const CXXFunctionalCastExpr * | Node | ) |
Definition at line 830 of file TextNodeDumper.cpp.
References clang::QualType::getAsString(), clang::CastExpr::getCastKindName(), and clang::ExplicitCastExpr::getTypeAsWritten().
void TextNodeDumper::VisitCXXNamedCastExpr | ( | const CXXNamedCastExpr * | Node | ) |
Definition at line 814 of file TextNodeDumper.cpp.
References dumpBasePath(), clang::QualType::getAsString(), clang::CastExpr::getCastKindName(), clang::CXXNamedCastExpr::getCastName(), and clang::ExplicitCastExpr::getTypeAsWritten().
void TextNodeDumper::VisitCXXNewExpr | ( | const CXXNewExpr * | Node | ) |
Definition at line 862 of file TextNodeDumper.cpp.
References dumpBareDeclRef(), clang::CXXNewExpr::getOperatorNew(), clang::CXXNewExpr::isArray(), and clang::CXXNewExpr::isGlobalNew().
void TextNodeDumper::VisitCXXThisExpr | ( | const CXXThisExpr * | Node | ) |
Definition at line 826 of file TextNodeDumper.cpp.
void TextNodeDumper::VisitCXXUnresolvedConstructExpr | ( | const CXXUnresolvedConstructExpr * | Node | ) |
Definition at line 836 of file TextNodeDumper.cpp.
References dumpType(), clang::CXXUnresolvedConstructExpr::getTypeAsWritten(), and clang::CXXUnresolvedConstructExpr::isListInitialization().
void TextNodeDumper::VisitDeclarationTemplateArgument | ( | const TemplateArgument & | TA | ) |
Definition at line 568 of file TextNodeDumper.cpp.
References dumpDeclRef(), and clang::TemplateArgument::getAsDecl().
void TextNodeDumper::VisitDeclRefExpr | ( | const DeclRefExpr * | Node | ) |
Definition at line 682 of file TextNodeDumper.cpp.
References dumpBareDeclRef(), clang::DeclRefExpr::getDecl(), and clang::DeclRefExpr::getFoundDecl().
void TextNodeDumper::VisitDependentSizedArrayType | ( | const DependentSizedArrayType * | T | ) |
Definition at line 1042 of file TextNodeDumper.cpp.
References dumpSourceRange(), clang::DependentSizedArrayType::getBracketsRange(), and VisitArrayType().
void TextNodeDumper::VisitDependentSizedExtVectorType | ( | const DependentSizedExtVectorType * | T | ) |
Definition at line 1049 of file TextNodeDumper.cpp.
References dumpLocation(), and clang::DependentSizedExtVectorType::getAttributeLoc().
void TextNodeDumper::VisitExpressionTemplateArgument | ( | const TemplateArgument & | TA | ) |
Definition at line 593 of file TextNodeDumper.cpp.
void TextNodeDumper::VisitExprWithCleanups | ( | const ExprWithCleanups * | Node | ) |
Definition at line 894 of file TextNodeDumper.cpp.
References dumpDeclRef(), clang::ExprWithCleanups::getNumObjects(), and clang::ExprWithCleanups::getObject().
void TextNodeDumper::VisitExtVectorElementExpr | ( | const ExtVectorElementExpr * | Node | ) |
Definition at line 791 of file TextNodeDumper.cpp.
References clang::ExtVectorElementExpr::getAccessor(), and clang::IdentifierInfo::getNameStart().
void TextNodeDumper::VisitFixedPointLiteral | ( | const FixedPointLiteral * | Node | ) |
Definition at line 733 of file TextNodeDumper.cpp.
References clang::FixedPointLiteral::getValueAsString(), and clang::ValueColor.
void TextNodeDumper::VisitFloatingLiteral | ( | const FloatingLiteral * | Node | ) |
Definition at line 738 of file TextNodeDumper.cpp.
References clang::FloatingLiteral::getValueAsApproximateDouble(), and clang::ValueColor.
void TextNodeDumper::VisitFunctionProtoType | ( | const FunctionProtoType * | T | ) |
Definition at line 1089 of file TextNodeDumper.cpp.
References clang::FunctionProtoType::getExtProtoInfo(), clang::FunctionType::isConst(), clang::FunctionType::isRestrict(), clang::FunctionType::isVolatile(), clang::RQ_LValue, clang::RQ_None, clang::RQ_RValue, and VisitFunctionType().
void TextNodeDumper::VisitFunctionType | ( | const FunctionType * | T | ) |
Definition at line 1078 of file TextNodeDumper.cpp.
References clang::FunctionType::getExtInfo(), and clang::FunctionType::getNameForCallConv().
Referenced by VisitFunctionProtoType().
void TextNodeDumper::VisitGotoStmt | ( | const GotoStmt * | Node | ) |
Definition at line 651 of file TextNodeDumper.cpp.
References dumpPointer(), clang::GotoStmt::getLabel(), and clang::NamedDecl::getName().
void TextNodeDumper::visitHTMLEndTagComment | ( | const comments::HTMLEndTagComment * | C, |
const comments::FullComment * | |||
) |
Definition at line 487 of file TextNodeDumper.cpp.
References clang::comments::HTMLTagComment::getTagName().
void TextNodeDumper::visitHTMLStartTagComment | ( | const comments::HTMLStartTagComment * | C, |
const comments::FullComment * | |||
) |
Definition at line 473 of file TextNodeDumper.cpp.
References clang::comments::HTMLStartTagComment::getAttr(), clang::comments::HTMLStartTagComment::getNumAttrs(), clang::comments::HTMLTagComment::getTagName(), clang::comments::HTMLStartTagComment::isSelfClosing(), clang::comments::HTMLStartTagComment::Attribute::Name, and clang::comments::HTMLStartTagComment::Attribute::Value.
void TextNodeDumper::VisitIfStmt | ( | const IfStmt * | Node | ) |
Definition at line 626 of file TextNodeDumper.cpp.
References clang::IfStmt::hasElseStorage(), clang::IfStmt::hasInitStorage(), and clang::IfStmt::hasVarStorage().
void TextNodeDumper::VisitImplicitCastExpr | ( | const ImplicitCastExpr * | Node | ) |
Definition at line 676 of file TextNodeDumper.cpp.
References clang::ImplicitCastExpr::isPartOfExplicitCast(), and VisitCastExpr().
void TextNodeDumper::VisitInitListExpr | ( | const InitListExpr * | ILE | ) |
Definition at line 749 of file TextNodeDumper.cpp.
References dumpBareDeclRef(), and clang::InitListExpr::getInitializedFieldInUnion().
void TextNodeDumper::VisitInjectedClassNameType | ( | const InjectedClassNameType * | T | ) |
Definition at line 1156 of file TextNodeDumper.cpp.
References dumpDeclRef(), and clang::InjectedClassNameType::getDecl().
void TextNodeDumper::visitInlineCommandComment | ( | const comments::InlineCommandComment * | C, |
const comments::FullComment * | |||
) |
Definition at line 451 of file TextNodeDumper.cpp.
References clang::comments::InlineCommandComment::getArgText(), clang::comments::InlineCommandComment::getCommandID(), clang::comments::InlineCommandComment::getNumArgs(), clang::comments::InlineCommandComment::getRenderKind(), clang::comments::InlineCommandComment::RenderBold, clang::comments::InlineCommandComment::RenderEmphasized, clang::comments::InlineCommandComment::RenderMonospaced, and clang::comments::InlineCommandComment::RenderNormal.
void TextNodeDumper::VisitIntegerLiteral | ( | const IntegerLiteral * | Node | ) |
Definition at line 727 of file TextNodeDumper.cpp.
References clang::Expr::getType(), clang::APIntStorage::getValue(), clang::Type::isSignedIntegerType(), and clang::ValueColor.
void TextNodeDumper::VisitIntegralTemplateArgument | ( | const TemplateArgument & | TA | ) |
Definition at line 578 of file TextNodeDumper.cpp.
References clang::TemplateArgument::getAsIntegral().
void TextNodeDumper::VisitLabelStmt | ( | const LabelStmt * | Node | ) |
Definition at line 647 of file TextNodeDumper.cpp.
References clang::LabelStmt::getName().
void TextNodeDumper::VisitMaterializeTemporaryExpr | ( | const MaterializeTemporaryExpr * | Node | ) |
Definition at line 886 of file TextNodeDumper.cpp.
References dumpBareDeclRef(), and clang::MaterializeTemporaryExpr::getExtendingDecl().
void TextNodeDumper::VisitMemberExpr | ( | const MemberExpr * | Node | ) |
Definition at line 786 of file TextNodeDumper.cpp.
References dumpPointer(), clang::MemberExpr::getMemberDecl(), and clang::MemberExpr::isArrow().
void TextNodeDumper::VisitNullPtrTemplateArgument | ( | const TemplateArgument & | TA | ) |
Definition at line 574 of file TextNodeDumper.cpp.
void TextNodeDumper::VisitNullTemplateArgument | ( | const TemplateArgument & | TA | ) |
Definition at line 559 of file TextNodeDumper.cpp.
void TextNodeDumper::VisitObjCAtCatchStmt | ( | const ObjCAtCatchStmt * | Node | ) |
Definition at line 938 of file TextNodeDumper.cpp.
References clang::ObjCAtCatchStmt::getCatchParamDecl().
void TextNodeDumper::VisitObjCBoolLiteralExpr | ( | const ObjCBoolLiteralExpr * | Node | ) |
Definition at line 1008 of file TextNodeDumper.cpp.
References clang::ObjCBoolLiteralExpr::getValue().
void TextNodeDumper::VisitObjCBoxedExpr | ( | const ObjCBoxedExpr * | Node | ) |
Definition at line 931 of file TextNodeDumper.cpp.
References clang::ObjCBoxedExpr::getBoxingMethod().
void TextNodeDumper::VisitObjCEncodeExpr | ( | const ObjCEncodeExpr * | Node | ) |
Definition at line 943 of file TextNodeDumper.cpp.
References dumpType(), and clang::ObjCEncodeExpr::getEncodedType().
void TextNodeDumper::VisitObjCInterfaceType | ( | const ObjCInterfaceType * | T | ) |
Definition at line 1161 of file TextNodeDumper.cpp.
References dumpDeclRef(), and clang::ObjCInterfaceType::getDecl().
void TextNodeDumper::VisitObjCIvarRefExpr | ( | const ObjCIvarRefExpr * | Node | ) |
Definition at line 707 of file TextNodeDumper.cpp.
References clang::DeclKindNameColor, dumpPointer(), clang::ObjCIvarRefExpr::getDecl(), clang::Decl::getDeclKindName(), and clang::ObjCIvarRefExpr::isFreeIvar().
void TextNodeDumper::VisitObjCMessageExpr | ( | const ObjCMessageExpr * | Node | ) |
Definition at line 909 of file TextNodeDumper.cpp.
References clang::ObjCMessageExpr::Class, dumpBareType(), clang::ObjCMessageExpr::getClassReceiver(), clang::ObjCMessageExpr::getReceiverKind(), clang::ObjCMessageExpr::getSelector(), clang::ObjCMessageExpr::Instance, clang::Selector::print(), clang::ObjCMessageExpr::SuperClass, and clang::ObjCMessageExpr::SuperInstance.
void TextNodeDumper::VisitObjCPropertyRefExpr | ( | const ObjCPropertyRefExpr * | Node | ) |
Definition at line 956 of file TextNodeDumper.cpp.
References clang::ObjCPropertyRefExpr::getExplicitProperty(), clang::ObjCPropertyRefExpr::getImplicitPropertyGetter(), clang::ObjCPropertyRefExpr::getImplicitPropertySetter(), clang::ObjCMethodDecl::getSelector(), clang::ObjCPropertyRefExpr::isImplicitProperty(), clang::ObjCPropertyRefExpr::isMessagingGetter(), clang::ObjCPropertyRefExpr::isMessagingSetter(), clang::ObjCPropertyRefExpr::isSuperReceiver(), and clang::Selector::print().
void TextNodeDumper::VisitObjCProtocolExpr | ( | const ObjCProtocolExpr * | Node | ) |
Definition at line 952 of file TextNodeDumper.cpp.
References clang::ObjCProtocolExpr::getProtocol().
void TextNodeDumper::VisitObjCSelectorExpr | ( | const ObjCSelectorExpr * | Node | ) |
Definition at line 947 of file TextNodeDumper.cpp.
References clang::ObjCSelectorExpr::getSelector(), and clang::Selector::print().
void TextNodeDumper::VisitObjCSubscriptRefExpr | ( | const ObjCSubscriptRefExpr * | Node | ) |
void TextNodeDumper::VisitPackExpansionType | ( | const PackExpansionType * | T | ) |
Definition at line 1165 of file TextNodeDumper.cpp.
References clang::PackExpansionType::getNumExpansions().
void TextNodeDumper::VisitPackTemplateArgument | ( | const TemplateArgument & | TA | ) |
Definition at line 597 of file TextNodeDumper.cpp.
void TextNodeDumper::visitParamCommandComment | ( | const comments::ParamCommandComment * | C, |
const comments::FullComment * | FC | ||
) |
Definition at line 499 of file TextNodeDumper.cpp.
References clang::comments::ParamCommandComment::getDirection(), clang::comments::ParamCommandComment::getDirectionAsString(), clang::comments::ParamCommandComment::getParamIndex(), clang::comments::ParamCommandComment::getParamName(), clang::comments::ParamCommandComment::getParamNameAsWritten(), clang::comments::ParamCommandComment::hasParamName(), clang::comments::ParamCommandComment::isDirectionExplicit(), clang::comments::ParamCommandComment::isParamIndexValid(), and clang::comments::ParamCommandComment::isVarArgParam().
void TextNodeDumper::VisitPredefinedExpr | ( | const PredefinedExpr * | Node | ) |
Definition at line 718 of file TextNodeDumper.cpp.
References clang::PredefinedExpr::getIdentKind(), and clang::PredefinedExpr::getIdentKindName().
void TextNodeDumper::VisitRValueReferenceType | ( | const ReferenceType * | T | ) |
Definition at line 1012 of file TextNodeDumper.cpp.
References clang::ReferenceType::isSpelledAsLValue().
void TextNodeDumper::VisitSizeOfPackExpr | ( | const SizeOfPackExpr * | Node | ) |
Definition at line 899 of file TextNodeDumper.cpp.
References dumpName(), dumpPointer(), and clang::SizeOfPackExpr::getPack().
void TextNodeDumper::VisitStringLiteral | ( | const StringLiteral * | Str | ) |
Definition at line 743 of file TextNodeDumper.cpp.
References clang::StringLiteral::outputString(), and clang::ValueColor.
void TextNodeDumper::VisitSwitchStmt | ( | const SwitchStmt * | Node | ) |
Definition at line 635 of file TextNodeDumper.cpp.
References clang::SwitchStmt::hasInitStorage(), and clang::SwitchStmt::hasVarStorage().
void TextNodeDumper::VisitTagType | ( | const TagType * | T | ) |
Definition at line 1130 of file TextNodeDumper.cpp.
References dumpDeclRef(), and clang::TagType::getDecl().
void TextNodeDumper::VisitTemplateExpansionTemplateArgument | ( | const TemplateArgument & | TA | ) |
Definition at line 587 of file TextNodeDumper.cpp.
References clang::TemplateName::dump(), and clang::TemplateArgument::getAsTemplateOrTemplatePattern().
void TextNodeDumper::VisitTemplateSpecializationType | ( | const TemplateSpecializationType * | T | ) |
Definition at line 1148 of file TextNodeDumper.cpp.
References clang::TemplateName::dump(), clang::TemplateSpecializationType::getTemplateName(), and clang::TemplateSpecializationType::isTypeAlias().
void TextNodeDumper::VisitTemplateTemplateArgument | ( | const TemplateArgument & | TA | ) |
Definition at line 582 of file TextNodeDumper.cpp.
References clang::TemplateName::dump(), and clang::TemplateArgument::getAsTemplate().
void TextNodeDumper::VisitTemplateTypeParmType | ( | const TemplateTypeParmType * | T | ) |
Definition at line 1134 of file TextNodeDumper.cpp.
References dumpDeclRef(), clang::TemplateTypeParmType::getDecl(), clang::TemplateTypeParmType::getDepth(), clang::TemplateTypeParmType::getIndex(), and clang::TemplateTypeParmType::isParameterPack().
void TextNodeDumper::visitTextComment | ( | const comments::TextComment * | C, |
const comments::FullComment * | |||
) |
Definition at line 446 of file TextNodeDumper.cpp.
References clang::comments::TextComment::getText().
void TextNodeDumper::visitTParamCommandComment | ( | const comments::TParamCommandComment * | C, |
const comments::FullComment * | FC | ||
) |
Definition at line 520 of file TextNodeDumper.cpp.
References clang::comments::TParamCommandComment::getDepth(), clang::comments::TParamCommandComment::getIndex(), clang::comments::TParamCommandComment::getParamName(), clang::comments::TParamCommandComment::getParamNameAsWritten(), clang::comments::TParamCommandComment::hasParamName(), and clang::comments::TParamCommandComment::isPositionValid().
void TextNodeDumper::VisitTypedefType | ( | const TypedefType * | T | ) |
Definition at line 1118 of file TextNodeDumper.cpp.
References dumpDeclRef(), and clang::TypedefType::getDecl().
void TextNodeDumper::VisitTypeTemplateArgument | ( | const TemplateArgument & | TA | ) |
Definition at line 563 of file TextNodeDumper.cpp.
References dumpType(), and clang::TemplateArgument::getAsType().
void TextNodeDumper::VisitUnaryExprOrTypeTraitExpr | ( | const UnaryExprOrTypeTraitExpr * | Node | ) |
Definition at line 763 of file TextNodeDumper.cpp.
References dumpType(), clang::UnaryExprOrTypeTraitExpr::getArgumentType(), clang::UnaryExprOrTypeTraitExpr::getKind(), clang::UnaryExprOrTypeTraitExpr::isArgumentType(), clang::UETT_AlignOf, clang::UETT_OpenMPRequiredSimdAlign, clang::UETT_PreferredAlignOf, clang::UETT_SizeOf, and clang::UETT_VecStep.
void TextNodeDumper::VisitUnaryOperator | ( | const UnaryOperator * | Node | ) |
Definition at line 756 of file TextNodeDumper.cpp.
References clang::UnaryOperator::canOverflow(), clang::UnaryOperator::getOpcode(), clang::UnaryOperator::getOpcodeStr(), and clang::UnaryOperator::isPostfix().
void TextNodeDumper::VisitUnaryTransformType | ( | const UnaryTransformType * | T | ) |
Definition at line 1122 of file TextNodeDumper.cpp.
References clang::UnaryTransformType::EnumUnderlyingType, and clang::UnaryTransformType::getUTTKind().
void TextNodeDumper::VisitUnresolvedLookupExpr | ( | const UnresolvedLookupExpr * | Node | ) |
Definition at line 692 of file TextNodeDumper.cpp.
References clang::OverloadExpr::decls_begin(), clang::OverloadExpr::decls_end(), dumpPointer(), clang::OverloadExpr::getName(), and clang::UnresolvedLookupExpr::requiresADL().
void TextNodeDumper::VisitUnresolvedUsingType | ( | const UnresolvedUsingType * | T | ) |
Definition at line 1114 of file TextNodeDumper.cpp.
References dumpDeclRef(), and clang::UnresolvedUsingType::getDecl().
void TextNodeDumper::VisitVariableArrayType | ( | const VariableArrayType * | T | ) |
Definition at line 1036 of file TextNodeDumper.cpp.
References dumpSourceRange(), clang::VariableArrayType::getBracketsRange(), and VisitArrayType().
void TextNodeDumper::VisitVectorType | ( | const VectorType * | T | ) |
Definition at line 1055 of file TextNodeDumper.cpp.
References clang::VectorType::AltiVecBool, clang::VectorType::AltiVecPixel, clang::VectorType::AltiVecVector, clang::VectorType::GenericVector, clang::VectorType::getNumElements(), clang::VectorType::getVectorKind(), clang::VectorType::NeonPolyVector, and clang::VectorType::NeonVector.
void TextNodeDumper::visitVerbatimBlockComment | ( | const comments::VerbatimBlockComment * | C, |
const comments::FullComment * | |||
) |
Definition at line 540 of file TextNodeDumper.cpp.
References clang::comments::VerbatimBlockComment::getCloseName(), and clang::comments::BlockCommandComment::getCommandID().
void TextNodeDumper::visitVerbatimBlockLineComment | ( | const comments::VerbatimBlockLineComment * | C, |
const comments::FullComment * | |||
) |
Definition at line 548 of file TextNodeDumper.cpp.
References clang::comments::VerbatimBlockLineComment::getText().
void TextNodeDumper::visitVerbatimLineComment | ( | const comments::VerbatimLineComment * | C, |
const comments::FullComment * | |||
) |
Definition at line 554 of file TextNodeDumper.cpp.
References clang::comments::VerbatimLineComment::getText().
void TextNodeDumper::VisitWhileStmt | ( | const WhileStmt * | Node | ) |
Definition at line 642 of file TextNodeDumper.cpp.
References clang::WhileStmt::hasVarStorage().