Lines Matching refs:ASTDumper
95 class ASTDumper class
96 : public ConstDeclVisitor<ASTDumper>, public ConstStmtVisitor<ASTDumper>,
97 public ConstCommentVisitor<ASTDumper>, public TypeVisitor<ASTDumper> {
190 ASTDumper &Dumper;
192 ColorScope(ASTDumper &Dumper, TerminalColor Color) in ColorScope()
204 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() function in __anon59a9c3280111::ASTDumper
210 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() function in __anon59a9c3280111::ASTDumper
583 void ASTDumper::dumpPointer(const void *Ptr) { in dumpPointer()
588 void ASTDumper::dumpLocation(SourceLocation Loc) { in dumpLocation()
618 void ASTDumper::dumpSourceRange(SourceRange R) { in dumpSourceRange()
635 void ASTDumper::dumpBareType(QualType T, bool Desugar) { in dumpBareType()
649 void ASTDumper::dumpType(QualType T) { in dumpType()
654 void ASTDumper::dumpTypeAsChild(QualType T) { in dumpTypeAsChild()
669 void ASTDumper::dumpTypeAsChild(const Type *T) { in dumpTypeAsChild()
709 TypeVisitor<ASTDumper>::Visit(T); in dumpTypeAsChild()
716 void ASTDumper::dumpBareDeclRef(const Decl *D) { in dumpBareDeclRef()
738 void ASTDumper::dumpDeclRef(const Decl *D, const char *Label) { in dumpDeclRef()
749 void ASTDumper::dumpName(const NamedDecl *ND) { in dumpName()
756 bool ASTDumper::hasNodes(const DeclContext *DC) { in hasNodes()
764 void ASTDumper::dumpDeclContext(const DeclContext *DC) { in dumpDeclContext()
779 void ASTDumper::dumpLookups(const DeclContext *DC, bool DumpDecls) { in dumpLookups()
837 void ASTDumper::dumpAttr(const Attr *A) { in dumpAttr()
891 void ASTDumper::dumpAccessSpecifier(AccessSpecifier AS) { in dumpAccessSpecifier()
907 void ASTDumper::dumpCXXCtorInitializer(const CXXCtorInitializer *Init) { in dumpCXXCtorInitializer()
924 void ASTDumper::dumpTemplateParameters(const TemplateParameterList *TPL) { in dumpTemplateParameters()
933 void ASTDumper::dumpTemplateArgumentListInfo( in dumpTemplateArgumentListInfo()
939 void ASTDumper::dumpTemplateArgumentLoc(const TemplateArgumentLoc &A) { in dumpTemplateArgumentLoc()
943 void ASTDumper::dumpTemplateArgumentList(const TemplateArgumentList &TAL) { in dumpTemplateArgumentList()
948 void ASTDumper::dumpTemplateArgument(const TemplateArgument &A, SourceRange R) { in dumpTemplateArgument()
997 void ASTDumper::dumpObjCTypeParamList(const ObjCTypeParamList *typeParams) { in dumpObjCTypeParamList()
1010 void ASTDumper::dumpDecl(const Decl *D) { in dumpDecl()
1053 ConstDeclVisitor<ASTDumper>::Visit(D); in dumpDecl()
1070 void ASTDumper::VisitLabelDecl(const LabelDecl *D) { in VisitLabelDecl()
1074 void ASTDumper::VisitTypedefDecl(const TypedefDecl *D) { in VisitTypedefDecl()
1082 void ASTDumper::VisitEnumDecl(const EnumDecl *D) { in VisitEnumDecl()
1096 void ASTDumper::VisitRecordDecl(const RecordDecl *D) { in VisitRecordDecl()
1105 void ASTDumper::VisitEnumConstantDecl(const EnumConstantDecl *D) { in VisitEnumConstantDecl()
1112 void ASTDumper::VisitIndirectFieldDecl(const IndirectFieldDecl *D) { in VisitIndirectFieldDecl()
1120 void ASTDumper::VisitFunctionDecl(const FunctionDecl *D) { in VisitFunctionDecl()
1177 void ASTDumper::VisitFieldDecl(const FieldDecl *D) { in VisitFieldDecl()
1191 void ASTDumper::VisitVarDecl(const VarDecl *D) { in VisitVarDecl()
1220 void ASTDumper::VisitFileScopeAsmDecl(const FileScopeAsmDecl *D) { in VisitFileScopeAsmDecl()
1224 void ASTDumper::VisitImportDecl(const ImportDecl *D) { in VisitImportDecl()
1228 void ASTDumper::VisitPragmaCommentDecl(const PragmaCommentDecl *D) { in VisitPragmaCommentDecl()
1243 void ASTDumper::VisitPragmaDetectMismatchDecl( in VisitPragmaDetectMismatchDecl()
1248 void ASTDumper::VisitCapturedDecl(const CapturedDecl *D) { in VisitCapturedDecl()
1256 void ASTDumper::VisitOMPThreadPrivateDecl(const OMPThreadPrivateDecl *D) { in VisitOMPThreadPrivateDecl()
1261 void ASTDumper::VisitOMPDeclareReductionDecl(const OMPDeclareReductionDecl *D) { in VisitOMPDeclareReductionDecl()
1272 void ASTDumper::VisitOMPCapturedExprDecl(const OMPCapturedExprDecl *D) { in VisitOMPCapturedExprDecl()
1282 void ASTDumper::VisitNamespaceDecl(const NamespaceDecl *D) { in VisitNamespaceDecl()
1290 void ASTDumper::VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) { in VisitUsingDirectiveDecl()
1295 void ASTDumper::VisitNamespaceAliasDecl(const NamespaceAliasDecl *D) { in VisitNamespaceAliasDecl()
1300 void ASTDumper::VisitTypeAliasDecl(const TypeAliasDecl *D) { in VisitTypeAliasDecl()
1306 void ASTDumper::VisitTypeAliasTemplateDecl(const TypeAliasTemplateDecl *D) { in VisitTypeAliasTemplateDecl()
1312 void ASTDumper::VisitCXXRecordDecl(const CXXRecordDecl *D) { in VisitCXXRecordDecl()
1329 void ASTDumper::VisitStaticAssertDecl(const StaticAssertDecl *D) { in VisitStaticAssertDecl()
1335 void ASTDumper::VisitTemplateDeclSpecialization(const SpecializationDecl *D, in VisitTemplateDeclSpecialization()
1377 void ASTDumper::VisitTemplateDecl(const TemplateDecl *D, in VisitTemplateDecl()
1389 void ASTDumper::VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) { in VisitFunctionTemplateDecl()
1396 void ASTDumper::VisitClassTemplateDecl(const ClassTemplateDecl *D) { in VisitClassTemplateDecl()
1400 void ASTDumper::VisitClassTemplateSpecializationDecl( in VisitClassTemplateSpecializationDecl()
1406 void ASTDumper::VisitClassTemplatePartialSpecializationDecl( in VisitClassTemplatePartialSpecializationDecl()
1412 void ASTDumper::VisitClassScopeFunctionSpecializationDecl( in VisitClassScopeFunctionSpecializationDecl()
1419 void ASTDumper::VisitVarTemplateDecl(const VarTemplateDecl *D) { in VisitVarTemplateDecl()
1423 void ASTDumper::VisitBuiltinTemplateDecl(const BuiltinTemplateDecl *D) { in VisitBuiltinTemplateDecl()
1428 void ASTDumper::VisitVarTemplateSpecializationDecl( in VisitVarTemplateSpecializationDecl()
1434 void ASTDumper::VisitVarTemplatePartialSpecializationDecl( in VisitVarTemplatePartialSpecializationDecl()
1440 void ASTDumper::VisitTemplateTypeParmDecl(const TemplateTypeParmDecl *D) { in VisitTemplateTypeParmDecl()
1452 void ASTDumper::VisitNonTypeTemplateParmDecl(const NonTypeTemplateParmDecl *D) { in VisitNonTypeTemplateParmDecl()
1461 void ASTDumper::VisitTemplateTemplateParmDecl( in VisitTemplateTemplateParmDecl()
1471 void ASTDumper::VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
1478 void ASTDumper::VisitUnresolvedUsingTypenameDecl( in VisitUnresolvedUsingTypenameDecl()
1486 void ASTDumper::VisitUnresolvedUsingValueDecl(const UnresolvedUsingValueDecl *D) { in VisitUnresolvedUsingValueDecl()
1494 void ASTDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
1501 void ASTDumper::VisitConstructorUsingShadowDecl( in VisitConstructorUsingShadowDecl()
1526 void ASTDumper::VisitLinkageSpecDecl(const LinkageSpecDecl *D) { in VisitLinkageSpecDecl()
1533 void ASTDumper::VisitAccessSpecDecl(const AccessSpecDecl *D) { in VisitAccessSpecDecl()
1538 void ASTDumper::VisitFriendDecl(const FriendDecl *D) { in VisitFriendDecl()
1549 void ASTDumper::VisitObjCIvarDecl(const ObjCIvarDecl *D) { in VisitObjCIvarDecl()
1574 void ASTDumper::VisitObjCMethodDecl(const ObjCMethodDecl *D) { in VisitObjCMethodDecl()
1596 void ASTDumper::VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D) { in VisitObjCTypeParamDecl()
1616 void ASTDumper::VisitObjCCategoryDecl(const ObjCCategoryDecl *D) { in VisitObjCCategoryDecl()
1627 void ASTDumper::VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl *D) { in VisitObjCCategoryImplDecl()
1633 void ASTDumper::VisitObjCProtocolDecl(const ObjCProtocolDecl *D) { in VisitObjCProtocolDecl()
1640 void ASTDumper::VisitObjCInterfaceDecl(const ObjCInterfaceDecl *D) { in VisitObjCInterfaceDecl()
1650 void ASTDumper::VisitObjCImplementationDecl(const ObjCImplementationDecl *D) { in VisitObjCImplementationDecl()
1660 void ASTDumper::VisitObjCCompatibleAliasDecl(const ObjCCompatibleAliasDecl *D) { in VisitObjCCompatibleAliasDecl()
1665 void ASTDumper::VisitObjCPropertyDecl(const ObjCPropertyDecl *D) { in VisitObjCPropertyDecl()
1705 void ASTDumper::VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) { in VisitObjCPropertyImplDecl()
1715 void ASTDumper::VisitBlockDecl(const BlockDecl *D) { in VisitBlockDecl()
1747 void ASTDumper::dumpStmt(const Stmt *S) { in dumpStmt()
1760 ConstStmtVisitor<ASTDumper>::Visit(S); in dumpStmt()
1767 void ASTDumper::VisitStmt(const Stmt *Node) { in VisitStmt()
1776 void ASTDumper::VisitDeclStmt(const DeclStmt *Node) { in VisitDeclStmt()
1784 void ASTDumper::VisitAttributedStmt(const AttributedStmt *Node) { in VisitAttributedStmt()
1792 void ASTDumper::VisitLabelStmt(const LabelStmt *Node) { in VisitLabelStmt()
1797 void ASTDumper::VisitGotoStmt(const GotoStmt *Node) { in VisitGotoStmt()
1803 void ASTDumper::VisitCXXCatchStmt(const CXXCatchStmt *Node) { in VisitCXXCatchStmt()
1808 void ASTDumper::VisitCapturedStmt(const CapturedStmt *Node) { in VisitCapturedStmt()
1817 void ASTDumper::VisitOMPExecutableDirective( in VisitOMPExecutableDirective()
1847 void ASTDumper::VisitExpr(const Expr *Node) { in VisitExpr()
1911 void ASTDumper::VisitCastExpr(const CastExpr *Node) { in VisitCastExpr()
1922 void ASTDumper::VisitDeclRefExpr(const DeclRefExpr *Node) { in VisitDeclRefExpr()
1934 void ASTDumper::VisitUnresolvedLookupExpr(const UnresolvedLookupExpr *Node) { in VisitUnresolvedLookupExpr()
1949 void ASTDumper::VisitObjCIvarRefExpr(const ObjCIvarRefExpr *Node) { in VisitObjCIvarRefExpr()
1962 void ASTDumper::VisitPredefinedExpr(const PredefinedExpr *Node) { in VisitPredefinedExpr()
1967 void ASTDumper::VisitCharacterLiteral(const CharacterLiteral *Node) { in VisitCharacterLiteral()
1973 void ASTDumper::VisitIntegerLiteral(const IntegerLiteral *Node) { in VisitIntegerLiteral()
1981 void ASTDumper::VisitFloatingLiteral(const FloatingLiteral *Node) { in VisitFloatingLiteral()
1987 void ASTDumper::VisitStringLiteral(const StringLiteral *Str) { in VisitStringLiteral()
1994 void ASTDumper::VisitInitListExpr(const InitListExpr *ILE) { in VisitInitListExpr()
2008 void ASTDumper::VisitUnaryOperator(const UnaryOperator *Node) { in VisitUnaryOperator()
2014 void ASTDumper::VisitUnaryExprOrTypeTraitExpr( in VisitUnaryExprOrTypeTraitExpr()
2035 void ASTDumper::VisitMemberExpr(const MemberExpr *Node) { in VisitMemberExpr()
2041 void ASTDumper::VisitExtVectorElementExpr(const ExtVectorElementExpr *Node) { in VisitExtVectorElementExpr()
2046 void ASTDumper::VisitBinaryOperator(const BinaryOperator *Node) { in VisitBinaryOperator()
2051 void ASTDumper::VisitCompoundAssignOperator( in VisitCompoundAssignOperator()
2061 void ASTDumper::VisitBlockExpr(const BlockExpr *Node) { in VisitBlockExpr()
2066 void ASTDumper::VisitOpaqueValueExpr(const OpaqueValueExpr *Node) { in VisitOpaqueValueExpr()
2075 void ASTDumper::VisitAddrLabelExpr(const AddrLabelExpr *Node) { in VisitAddrLabelExpr()
2085 void ASTDumper::VisitCXXNamedCastExpr(const CXXNamedCastExpr *Node) { in VisitCXXNamedCastExpr()
2094 void ASTDumper::VisitCXXBoolLiteralExpr(const CXXBoolLiteralExpr *Node) { in VisitCXXBoolLiteralExpr()
2099 void ASTDumper::VisitCXXThisExpr(const CXXThisExpr *Node) { in VisitCXXThisExpr()
2104 void ASTDumper::VisitCXXFunctionalCastExpr(const CXXFunctionalCastExpr *Node) { in VisitCXXFunctionalCastExpr()
2110 void ASTDumper::VisitCXXConstructExpr(const CXXConstructExpr *Node) { in VisitCXXConstructExpr()
2120 void ASTDumper::VisitCXXBindTemporaryExpr(const CXXBindTemporaryExpr *Node) { in VisitCXXBindTemporaryExpr()
2126 void ASTDumper::VisitCXXNewExpr(const CXXNewExpr *Node) { in VisitCXXNewExpr()
2140 void ASTDumper::VisitCXXDeleteExpr(const CXXDeleteExpr *Node) { in VisitCXXDeleteExpr()
2153 ASTDumper::VisitMaterializeTemporaryExpr(const MaterializeTemporaryExpr *Node) { in VisitMaterializeTemporaryExpr()
2161 void ASTDumper::VisitExprWithCleanups(const ExprWithCleanups *Node) { in VisitExprWithCleanups()
2167 void ASTDumper::dumpCXXTemporary(const CXXTemporary *Temporary) { in dumpCXXTemporary()
2173 void ASTDumper::VisitSizeOfPackExpr(const SizeOfPackExpr *Node) { in VisitSizeOfPackExpr()
2187 void ASTDumper::VisitObjCMessageExpr(const ObjCMessageExpr *Node) { in VisitObjCMessageExpr()
2210 void ASTDumper::VisitObjCBoxedExpr(const ObjCBoxedExpr *Node) { in VisitObjCBoxedExpr()
2218 void ASTDumper::VisitObjCAtCatchStmt(const ObjCAtCatchStmt *Node) { in VisitObjCAtCatchStmt()
2226 void ASTDumper::VisitObjCEncodeExpr(const ObjCEncodeExpr *Node) { in VisitObjCEncodeExpr()
2231 void ASTDumper::VisitObjCSelectorExpr(const ObjCSelectorExpr *Node) { in VisitObjCSelectorExpr()
2238 void ASTDumper::VisitObjCProtocolExpr(const ObjCProtocolExpr *Node) { in VisitObjCProtocolExpr()
2244 void ASTDumper::VisitObjCPropertyRefExpr(const ObjCPropertyRefExpr *Node) { in VisitObjCPropertyRefExpr()
2275 void ASTDumper::VisitObjCSubscriptRefExpr(const ObjCSubscriptRefExpr *Node) { in VisitObjCSubscriptRefExpr()
2296 void ASTDumper::VisitObjCBoolLiteralExpr(const ObjCBoolLiteralExpr *Node) { in VisitObjCBoolLiteralExpr()
2305 const char *ASTDumper::getCommandName(unsigned CommandID) { in getCommandName()
2314 void ASTDumper::dumpFullComment(const FullComment *C) { in dumpFullComment()
2323 void ASTDumper::dumpComment(const Comment *C) { in dumpComment()
2337 ConstCommentVisitor<ASTDumper>::visit(C); in dumpComment()
2344 void ASTDumper::visitTextComment(const TextComment *C) { in visitTextComment()
2348 void ASTDumper::visitInlineCommandComment(const InlineCommandComment *C) { in visitInlineCommandComment()
2369 void ASTDumper::visitHTMLStartTagComment(const HTMLStartTagComment *C) { in visitHTMLStartTagComment()
2382 void ASTDumper::visitHTMLEndTagComment(const HTMLEndTagComment *C) { in visitHTMLEndTagComment()
2386 void ASTDumper::visitBlockCommandComment(const BlockCommandComment *C) { in visitBlockCommandComment()
2392 void ASTDumper::visitParamCommandComment(const ParamCommandComment *C) { in visitParamCommandComment()
2411 void ASTDumper::visitTParamCommandComment(const TParamCommandComment *C) { in visitTParamCommandComment()
2430 void ASTDumper::visitVerbatimBlockComment(const VerbatimBlockComment *C) { in visitVerbatimBlockComment()
2435 void ASTDumper::visitVerbatimBlockLineComment( in visitVerbatimBlockLineComment()
2440 void ASTDumper::visitVerbatimLineComment(const VerbatimLineComment *C) { in visitVerbatimLineComment()
2455 ASTDumper Dumper(llvm::errs(), nullptr, nullptr); in dump()
2468 ASTDumper P(OS, &getASTContext().getCommentCommandTraits(), in dump()
2474 ASTDumper P(llvm::errs(), &getASTContext().getCommentCommandTraits(), in dumpColor()
2489 ASTDumper P(OS, &Ctx.getCommentCommandTraits(), &Ctx.getSourceManager()); in dumpLookups()
2502 ASTDumper P(OS, nullptr, &SM); in dump()
2507 ASTDumper P(OS, nullptr, nullptr); in dump()
2512 ASTDumper P(llvm::errs(), nullptr, nullptr); in dump()
2517 ASTDumper P(llvm::errs(), nullptr, nullptr, /*ShowColors*/true); in dumpColor()
2537 ASTDumper D(OS, Traits, SM); in dump()
2543 ASTDumper D(llvm::errs(), nullptr, nullptr, /*ShowColors*/true); in dumpColor()