• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/AST/

Lines Matching defs:TextNodeDumper

1 //===--- TextNodeDumper.cpp - Printing of AST nodes -----------------------===//
13 #include "clang/AST/TextNodeDumper.h"
59 TextNodeDumper::TextNodeDumper(raw_ostream &OS, const ASTContext &Context,
66 TextNodeDumper::TextNodeDumper(raw_ostream &OS, bool ShowColors)
69 void TextNodeDumper::Visit(const comments::Comment *C,
84 ConstCommentVisitor<TextNodeDumper, void,
88 void TextNodeDumper::Visit(const Attr *A) {
108 ConstAttrVisitor<TextNodeDumper>::Visit(A);
111 void TextNodeDumper::Visit(const TemplateArgument &TA, SourceRange R,
120 ConstTemplateArgumentVisitor<TextNodeDumper>::Visit(TA);
123 void TextNodeDumper::Visit(const Stmt *Node) {
182 ConstStmtVisitor<TextNodeDumper>::Visit(Node);
185 void TextNodeDumper::Visit(const Type *T) {
230 TypeVisitor<TextNodeDumper>::Visit(T);
233 void TextNodeDumper::Visit(QualType T) {
241 void TextNodeDumper::Visit(const Decl *D) {
298 ConstDeclVisitor<TextNodeDumper>::Visit(D);
301 void TextNodeDumper::Visit(const CXXCtorInitializer *Init) {
315 void TextNodeDumper::Visit(const BlockDecl::Capture &C) {
327 void TextNodeDumper::Visit(const OMPClause *C) {
345 void TextNodeDumper::Visit(const GenericSelectionExpr::ConstAssociation &A) {
403 void TextNodeDumper::dumpAPValueChildren(
436 void TextNodeDumper::Visit(const APValue &Value, QualType Ty) {
570 void TextNodeDumper::dumpPointer(const void *Ptr) {
575 void TextNodeDumper::dumpLocation(SourceLocation Loc) {
604 void TextNodeDumper::dumpSourceRange(SourceRange R) {
620 void TextNodeDumper::dumpBareType(QualType T, bool Desugar) {
634 void TextNodeDumper::dumpType(QualType T) {
639 void TextNodeDumper::dumpBareDeclRef(const Decl *D) {
661 void TextNodeDumper::dumpName(const NamedDecl *ND) {
668 void TextNodeDumper::dumpAccessSpecifier(AccessSpecifier AS) {
675 void TextNodeDumper::dumpCleanupObject(
692 void TextNodeDumper::dumpDeclRef(const Decl *D, StringRef Label) {
703 const char *TextNodeDumper::getCommandName(unsigned CommandID) {
713 void TextNodeDumper::visitTextComment(const comments::TextComment *C,
718 void TextNodeDumper::visitInlineCommandComment(
743 void TextNodeDumper::visitHTMLStartTagComment(
757 void TextNodeDumper::visitHTMLEndTagComment(
762 void TextNodeDumper::visitBlockCommandComment(
769 void TextNodeDumper::visitParamCommandComment(
790 void TextNodeDumper::visitTParamCommandComment(
810 void TextNodeDumper::visitVerbatimBlockComment(
818 void TextNodeDumper::visitVerbatimBlockLineComment(
824 void TextNodeDumper::visitVerbatimLineComment(
829 void TextNodeDumper::VisitNullTemplateArgument(const TemplateArgument &) {
833 void TextNodeDumper::VisitTypeTemplateArgument(const TemplateArgument &TA) {
838 void TextNodeDumper::VisitDeclarationTemplateArgument(
844 void TextNodeDumper::VisitNullPtrTemplateArgument(const TemplateArgument &) {
848 void TextNodeDumper::VisitIntegralTemplateArgument(const TemplateArgument &TA) {
852 void TextNodeDumper::VisitTemplateTemplateArgument(const TemplateArgument &TA) {
857 void TextNodeDumper::VisitTemplateExpansionTemplateArgument(
863 void TextNodeDumper::VisitExpressionTemplateArgument(const TemplateArgument &) {
867 void TextNodeDumper::VisitPackTemplateArgument(const TemplateArgument &) {
896 void TextNodeDumper::VisitIfStmt(const IfStmt *Node) {
905 void TextNodeDumper::VisitSwitchStmt(const SwitchStmt *Node) {
912 void TextNodeDumper::VisitWhileStmt(const WhileStmt *Node) {
917 void TextNodeDumper::VisitLabelStmt(const LabelStmt *Node) {
921 void TextNodeDumper::VisitGotoStmt(const GotoStmt *Node) {
926 void TextNodeDumper::VisitCaseStmt(const CaseStmt *Node) {
931 void TextNodeDumper::VisitConstantExpr(const ConstantExpr *Node) {
937 void TextNodeDumper::VisitCallExpr(const CallExpr *Node) {
942 void TextNodeDumper::VisitCXXOperatorCallExpr(const CXXOperatorCallExpr *Node) {
950 void TextNodeDumper::VisitCastExpr(const CastExpr *Node) {
960 void TextNodeDumper::VisitImplicitCastExpr(const ImplicitCastExpr *Node) {
966 void TextNodeDumper::VisitDeclRefExpr(const DeclRefExpr *Node) {
982 void TextNodeDumper::VisitUnresolvedLookupExpr(
997 void TextNodeDumper::VisitObjCIvarRefExpr(const ObjCIvarRefExpr *Node) {
1008 void TextNodeDumper::VisitPredefinedExpr(const PredefinedExpr *Node) {
1012 void TextNodeDumper::VisitCharacterLiteral(const CharacterLiteral *Node) {
1017 void TextNodeDumper::VisitIntegerLiteral(const IntegerLiteral *Node) {
1023 void TextNodeDumper::VisitFixedPointLiteral(const FixedPointLiteral *Node) {
1028 void TextNodeDumper::VisitFloatingLiteral(const FloatingLiteral *Node) {
1033 void TextNodeDumper::VisitStringLiteral(const StringLiteral *Str) {
1039 void TextNodeDumper::VisitInitListExpr(const InitListExpr *ILE) {
1046 void TextNodeDumper::VisitGenericSelectionExpr(const GenericSelectionExpr *E) {
1051 void TextNodeDumper::VisitUnaryOperator(const UnaryOperator *Node) {
1058 void TextNodeDumper::VisitUnaryExprOrTypeTraitExpr(
1066 void TextNodeDumper::VisitMemberExpr(const MemberExpr *Node) {
1077 void TextNodeDumper::VisitExtVectorElementExpr(
1082 void TextNodeDumper::VisitBinaryOperator(const BinaryOperator *Node) {
1086 void TextNodeDumper::VisitCompoundAssignOperator(
1095 void TextNodeDumper::VisitAddrLabelExpr(const AddrLabelExpr *Node) {
1100 void TextNodeDumper::VisitCXXNamedCastExpr(const CXXNamedCastExpr *Node) {
1108 void TextNodeDumper::VisitCXXBoolLiteralExpr(const CXXBoolLiteralExpr *Node) {
1112 void TextNodeDumper::VisitCXXThisExpr(const CXXThisExpr *Node) {
1118 void TextNodeDumper::VisitCXXFunctionalCastExpr(
1124 void TextNodeDumper::VisitCXXUnresolvedConstructExpr(
1131 void TextNodeDumper::VisitCXXConstructExpr(const CXXConstructExpr *Node) {
1144 void TextNodeDumper::VisitCXXBindTemporaryExpr(
1151 void TextNodeDumper::VisitCXXNewExpr(const CXXNewExpr *Node) {
1164 void TextNodeDumper::VisitCXXDeleteExpr(const CXXDeleteExpr *Node) {
1175 void TextNodeDumper::VisitTypeTraitExpr(const TypeTraitExpr *Node) {
1179 void TextNodeDumper::VisitArrayTypeTraitExpr(const ArrayTypeTraitExpr *Node) {
1183 void TextNodeDumper::VisitExpressionTraitExpr(const ExpressionTraitExpr *Node) {
1187 void TextNodeDumper::VisitMaterializeTemporaryExpr(
1195 void TextNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *Node) {
1200 void TextNodeDumper::VisitSizeOfPackExpr(const SizeOfPackExpr *Node) {
1205 void TextNodeDumper::VisitCXXDependentScopeMemberExpr(
1210 void TextNodeDumper::VisitObjCMessageExpr(const ObjCMessageExpr *Node) {
1232 void TextNodeDumper::VisitObjCBoxedExpr(const ObjCBoxedExpr *Node) {
1239 void TextNodeDumper::VisitObjCAtCatchStmt(const ObjCAtCatchStmt *Node) {
1244 void TextNodeDumper::VisitObjCEncodeExpr(const ObjCEncodeExpr *Node) {
1248 void TextNodeDumper::VisitObjCSelectorExpr(const ObjCSelectorExpr *Node) {
1253 void TextNodeDumper::VisitObjCProtocolExpr(const ObjCProtocolExpr *Node) {
1257 void TextNodeDumper::VisitObjCPropertyRefExpr(const ObjCPropertyRefExpr *Node) {
1288 void TextNodeDumper::VisitObjCSubscriptRefExpr(
1309 void TextNodeDumper::VisitObjCBoolLiteralExpr(const ObjCBoolLiteralExpr *Node) {
1313 void TextNodeDumper::VisitOMPIteratorExpr(const OMPIteratorExpr *Node) {
1330 void TextNodeDumper::VisitRValueReferenceType(const ReferenceType *T) {
1335 void TextNodeDumper::VisitArrayType(const ArrayType *T) {
1349 void TextNodeDumper::VisitConstantArrayType(const ConstantArrayType *T) {
1354 void TextNodeDumper::VisitVariableArrayType(const VariableArrayType *T) {
1360 void TextNodeDumper::VisitDependentSizedArrayType(
1367 void TextNodeDumper::VisitDependentSizedExtVectorType(
1373 void TextNodeDumper::VisitVectorType(const VectorType *T) {
1396 void TextNodeDumper::VisitFunctionType(const FunctionType *T) {
1407 void TextNodeDumper::VisitFunctionProtoType(const FunctionProtoType *T) {
1434 void TextNodeDumper::VisitUnresolvedUsingType(const UnresolvedUsingType *T) {
1438 void TextNodeDumper::VisitTypedefType(const TypedefType *T) {
1442 void TextNodeDumper::VisitUnaryTransformType(const UnaryTransformType *T) {
1450 void TextNodeDumper::VisitTagType(const TagType *T) {
1454 void TextNodeDumper::VisitTemplateTypeParmType(const TemplateTypeParmType *T) {
1461 void TextNodeDumper::VisitAutoType(const AutoType *T) {
1473 void TextNodeDumper::VisitTemplateSpecializationType(
1481 void TextNodeDumper::VisitInjectedClassNameType(
1486 void TextNodeDumper::VisitObjCInterfaceType(const ObjCInterfaceType *T) {
1490 void TextNodeDumper::VisitPackExpansionType(const PackExpansionType *T) {
1495 void TextNodeDumper::VisitLabelDecl(const LabelDecl *D) { dumpName(D); }
1497 void TextNodeDumper::VisitTypedefDecl(const TypedefDecl *D) {
1504 void TextNodeDumper::VisitEnumDecl(const EnumDecl *D) {
1518 void TextNodeDumper::VisitRecordDecl(const RecordDecl *D) {
1527 void TextNodeDumper::VisitEnumConstantDecl(const EnumConstantDecl *D) {
1532 void TextNodeDumper::VisitIndirectFieldDecl(const IndirectFieldDecl *D) {
1540 void TextNodeDumper::VisitFunctionDecl(const FunctionDecl *D) {
1611 void TextNodeDumper::VisitLifetimeExtendedTemporaryDecl(
1622 void TextNodeDumper::VisitFieldDecl(const FieldDecl *D) {
1631 void TextNodeDumper::VisitVarDecl(const VarDecl *D) {
1684 void TextNodeDumper::VisitBindingDecl(const BindingDecl *D) {
1689 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) {
1694 void TextNodeDumper::VisitImportDecl(const ImportDecl *D) {
1702 void TextNodeDumper::VisitPragmaCommentDecl(const PragmaCommentDecl *D) {
1728 void TextNodeDumper::VisitPragmaDetectMismatchDecl(
1733 void TextNodeDumper::VisitOMPExecutableDirective(
1739 void TextNodeDumper::VisitOMPDeclareReductionDecl(
1761 void TextNodeDumper::VisitOMPRequiresDecl(const OMPRequiresDecl *D) {
1782 void TextNodeDumper::VisitOMPCapturedExprDecl(const OMPCapturedExprDecl *D) {
1787 void TextNodeDumper::VisitNamespaceDecl(const NamespaceDecl *D) {
1795 void TextNodeDumper::VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) {
1800 void TextNodeDumper::VisitNamespaceAliasDecl(const NamespaceAliasDecl *D) {
1805 void TextNodeDumper::VisitTypeAliasDecl(const TypeAliasDecl *D) {
1810 void TextNodeDumper::VisitTypeAliasTemplateDecl(
1815 void TextNodeDumper::VisitCXXRecordDecl(const CXXRecordDecl *D) {
1959 void TextNodeDumper::VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) {
1963 void TextNodeDumper::VisitClassTemplateDecl(const ClassTemplateDecl *D) {
1967 void TextNodeDumper::VisitVarTemplateDecl(const VarTemplateDecl *D) {
1971 void TextNodeDumper::VisitBuiltinTemplateDecl(const BuiltinTemplateDecl *D) {
1975 void TextNodeDumper::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) {
1995 void TextNodeDumper::VisitNonTypeTemplateParmDecl(
2004 void TextNodeDumper::VisitTemplateTemplateParmDecl(
2012 void TextNodeDumper::VisitUsingDecl(const UsingDecl *D) {
2019 void TextNodeDumper::VisitUnresolvedUsingTypenameDecl(
2027 void TextNodeDumper::VisitUnresolvedUsingValueDecl(
2036 void TextNodeDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) {
2041 void TextNodeDumper::VisitConstructorUsingShadowDecl(
2066 void TextNodeDumper::VisitLinkageSpecDecl(const LinkageSpecDecl *D) {
2077 void TextNodeDumper::VisitAccessSpecDecl(const AccessSpecDecl *D) {
2082 void TextNodeDumper::VisitFriendDecl(const FriendDecl *D) {
2087 void TextNodeDumper::VisitObjCIvarDecl(const ObjCIvarDecl *D) {
2112 void TextNodeDumper::VisitObjCMethodDecl(const ObjCMethodDecl *D) {
2124 void TextNodeDumper::VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D) {
2144 void TextNodeDumper::VisitObjCCategoryDecl(const ObjCCategoryDecl *D) {
2152 void TextNodeDumper::VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl *D) {
2158 void TextNodeDumper::VisitObjCProtocolDecl(const ObjCProtocolDecl *D) {
2165 void TextNodeDumper::VisitObjCInterfaceDecl(const ObjCInterfaceDecl *D) {
2174 void TextNodeDumper::VisitObjCImplementationDecl(
2181 void TextNodeDumper::VisitObjCCompatibleAliasDecl(
2187 void TextNodeDumper::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) {
2229 void TextNodeDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) {
2239 void TextNodeDumper::VisitBlockDecl(const BlockDecl *D) {
2247 void TextNodeDumper::VisitConceptDecl(const ConceptDecl *D) {