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

Lines Matching refs:ASTStmtWriter

32   class ASTStmtWriter : public StmtVisitor<ASTStmtWriter, void> {
40 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record)
44 ASTStmtWriter(const ASTStmtWriter&) = delete;
62 void ASTStmtWriter::AddTemplateKWAndArgsInfo(
71 void ASTStmtWriter::VisitStmt(Stmt *S) {
74 void ASTStmtWriter::VisitNullStmt(NullStmt *S) {
81 void ASTStmtWriter::VisitCompoundStmt(CompoundStmt *S) {
91 void ASTStmtWriter::VisitSwitchCase(SwitchCase *S) {
98 void ASTStmtWriter::VisitCaseStmt(CaseStmt *S) {
110 void ASTStmtWriter::VisitDefaultStmt(DefaultStmt *S) {
116 void ASTStmtWriter::VisitLabelStmt(LabelStmt *S) {
124 void ASTStmtWriter::VisitAttributedStmt(AttributedStmt *S) {
133 void ASTStmtWriter::VisitIfStmt(IfStmt *S) {
161 void ASTStmtWriter::VisitSwitchStmt(SwitchStmt *S) {
185 void ASTStmtWriter::VisitWhileStmt(WhileStmt *S) {
202 void ASTStmtWriter::VisitDoStmt(DoStmt *S) {
212 void ASTStmtWriter::VisitForStmt(ForStmt *S) {
225 void ASTStmtWriter::VisitGotoStmt(GotoStmt *S) {
233 void ASTStmtWriter::VisitIndirectGotoStmt(IndirectGotoStmt *S) {
241 void ASTStmtWriter::VisitContinueStmt(ContinueStmt *S) {
247 void ASTStmtWriter::VisitBreakStmt(BreakStmt *S) {
253 void ASTStmtWriter::VisitReturnStmt(ReturnStmt *S) {
267 void ASTStmtWriter::VisitDeclStmt(DeclStmt *S) {
277 void ASTStmtWriter::VisitAsmStmt(AsmStmt *S) {
287 void ASTStmtWriter::VisitGCCAsmStmt(GCCAsmStmt *S) {
317 void ASTStmtWriter::VisitMSAsmStmt(MSAsmStmt *S) {
350 void ASTStmtWriter::VisitCoroutineBodyStmt(CoroutineBodyStmt *CoroStmt) {
358 void ASTStmtWriter::VisitCoreturnStmt(CoreturnStmt *S) {
367 void ASTStmtWriter::VisitCoroutineSuspendExpr(CoroutineSuspendExpr *E) {
375 void ASTStmtWriter::VisitCoawaitExpr(CoawaitExpr *E) {
381 void ASTStmtWriter::VisitCoyieldExpr(CoyieldExpr *E) {
386 void ASTStmtWriter::VisitDependentCoawaitExpr(DependentCoawaitExpr *E) {
425 void ASTStmtWriter::VisitConceptSpecializationExpr(
444 void ASTStmtWriter::VisitRequiresExpr(RequiresExpr *E) {
508 void ASTStmtWriter::VisitCapturedStmt(CapturedStmt *S) {
539 void ASTStmtWriter::VisitExpr(Expr *E) {
551 void ASTStmtWriter::VisitConstantExpr(ConstantExpr *E) {
578 void ASTStmtWriter::VisitPredefinedExpr(PredefinedExpr *E) {
590 void ASTStmtWriter::VisitDeclRefExpr(DeclRefExpr *E) {
630 void ASTStmtWriter::VisitIntegerLiteral(IntegerLiteral *E) {
642 void ASTStmtWriter::VisitFixedPointLiteral(FixedPointLiteral *E) {
650 void ASTStmtWriter::VisitFloatingLiteral(FloatingLiteral *E) {
659 void ASTStmtWriter::VisitImaginaryLiteral(ImaginaryLiteral *E) {
665 void ASTStmtWriter::VisitStringLiteral(StringLiteral *E) {
687 void ASTStmtWriter::VisitCharacterLiteral(CharacterLiteral *E) {
698 void ASTStmtWriter::VisitParenExpr(ParenExpr *E) {
706 void ASTStmtWriter::VisitParenListExpr(ParenListExpr *E) {
716 void ASTStmtWriter::VisitUnaryOperator(UnaryOperator *E) {
731 void ASTStmtWriter::VisitOffsetOfExpr(OffsetOfExpr *E) {
766 void ASTStmtWriter::VisitUnaryExprOrTypeTraitExpr(UnaryExprOrTypeTraitExpr *E) {
780 void ASTStmtWriter::VisitArraySubscriptExpr(ArraySubscriptExpr *E) {
788 void ASTStmtWriter::VisitMatrixSubscriptExpr(MatrixSubscriptExpr *E) {
797 void ASTStmtWriter::VisitOMPArraySectionExpr(OMPArraySectionExpr *E) {
809 void ASTStmtWriter::VisitOMPArrayShapingExpr(OMPArrayShapingExpr *E) {
822 void ASTStmtWriter::VisitOMPIteratorExpr(OMPIteratorExpr *E) {
848 void ASTStmtWriter::VisitCallExpr(CallExpr *E) {
860 void ASTStmtWriter::VisitRecoveryExpr(RecoveryExpr *E) {
870 void ASTStmtWriter::VisitMemberExpr(MemberExpr *E) {
914 void ASTStmtWriter::VisitObjCIsaExpr(ObjCIsaExpr *E) {
923 void ASTStmtWriter::
931 void ASTStmtWriter::VisitObjCBridgedCastExpr(ObjCBridgedCastExpr *E) {
939 void ASTStmtWriter::VisitCastExpr(CastExpr *E) {
950 void ASTStmtWriter::VisitBinaryOperator(BinaryOperator *E) {
965 void ASTStmtWriter::VisitCompoundAssignOperator(CompoundAssignOperator *E) {
972 void ASTStmtWriter::VisitConditionalOperator(ConditionalOperator *E) {
983 ASTStmtWriter::VisitBinaryConditionalOperator(BinaryConditionalOperator *E) {
995 void ASTStmtWriter::VisitImplicitCastExpr(ImplicitCastExpr *E) {
1005 void ASTStmtWriter::VisitExplicitCastExpr(ExplicitCastExpr *E) {
1010 void ASTStmtWriter::VisitCStyleCastExpr(CStyleCastExpr *E) {
1017 void ASTStmtWriter::VisitCompoundLiteralExpr(CompoundLiteralExpr *E) {
1026 void ASTStmtWriter::VisitExtVectorElementExpr(ExtVectorElementExpr *E) {
1034 void ASTStmtWriter::VisitInitListExpr(InitListExpr *E) {
1062 void ASTStmtWriter::VisitDesignatedInitExpr(DesignatedInitExpr *E) {
1097 void ASTStmtWriter::VisitDesignatedInitUpdateExpr(DesignatedInitUpdateExpr *E) {
1104 void ASTStmtWriter::VisitNoInitExpr(NoInitExpr *E) {
1109 void ASTStmtWriter::VisitArrayInitLoopExpr(ArrayInitLoopExpr *E) {
1116 void ASTStmtWriter::VisitArrayInitIndexExpr(ArrayInitIndexExpr *E) {
1121 void ASTStmtWriter::VisitImplicitValueInitExpr(ImplicitValueInitExpr *E) {
1126 void ASTStmtWriter::VisitVAArgExpr(VAArgExpr *E) {
1136 void ASTStmtWriter::VisitSourceLocExpr(SourceLocExpr *E) {
1145 void ASTStmtWriter::VisitAddrLabelExpr(AddrLabelExpr *E) {
1153 void ASTStmtWriter::VisitStmtExpr(StmtExpr *E) {
1162 void ASTStmtWriter::VisitChooseExpr(ChooseExpr *E) {
1173 void ASTStmtWriter::VisitGNUNullExpr(GNUNullExpr *E) {
1179 void ASTStmtWriter::VisitShuffleVectorExpr(ShuffleVectorExpr *E) {
1189 void ASTStmtWriter::VisitConvertVectorExpr(ConvertVectorExpr *E) {
1198 void ASTStmtWriter::VisitBlockExpr(BlockExpr *E) {
1204 void ASTStmtWriter::VisitGenericSelectionExpr(GenericSelectionExpr *E) {
1227 void ASTStmtWriter::VisitPseudoObjectExpr(PseudoObjectExpr *E) {
1245 void ASTStmtWriter::VisitAtomicExpr(AtomicExpr *E) {
1259 void ASTStmtWriter::VisitObjCStringLiteral(ObjCStringLiteral *E) {
1266 void ASTStmtWriter::VisitObjCBoxedExpr(ObjCBoxedExpr *E) {
1274 void ASTStmtWriter::VisitObjCArrayLiteral(ObjCArrayLiteral *E) {
1284 void ASTStmtWriter::VisitObjCDictionaryLiteral(ObjCDictionaryLiteral *E) {
1306 void ASTStmtWriter::VisitObjCEncodeExpr(ObjCEncodeExpr *E) {
1314 void ASTStmtWriter::VisitObjCSelectorExpr(ObjCSelectorExpr *E) {
1322 void ASTStmtWriter::VisitObjCProtocolExpr(ObjCProtocolExpr *E) {
1331 void ASTStmtWriter::VisitObjCIvarRefExpr(ObjCIvarRefExpr *E) {
1342 void ASTStmtWriter::VisitObjCPropertyRefExpr(ObjCPropertyRefExpr *E) {
1368 void ASTStmtWriter::VisitObjCSubscriptRefExpr(ObjCSubscriptRefExpr *E) {
1379 void ASTStmtWriter::VisitObjCMessageExpr(ObjCMessageExpr *E) {
1425 void ASTStmtWriter::VisitObjCForCollectionStmt(ObjCForCollectionStmt *S) {
1435 void ASTStmtWriter::VisitObjCAtCatchStmt(ObjCAtCatchStmt *S) {
1444 void ASTStmtWriter::VisitObjCAtFinallyStmt(ObjCAtFinallyStmt *S) {
1451 void ASTStmtWriter::VisitObjCAutoreleasePoolStmt(ObjCAutoreleasePoolStmt *S) {
1458 void ASTStmtWriter::VisitObjCAtTryStmt(ObjCAtTryStmt *S) {
1471 void ASTStmtWriter::VisitObjCAtSynchronizedStmt(ObjCAtSynchronizedStmt *S) {
1479 void ASTStmtWriter::VisitObjCAtThrowStmt(ObjCAtThrowStmt *S) {
1486 void ASTStmtWriter::VisitObjCBoolLiteralExpr(ObjCBoolLiteralExpr *E) {
1493 void ASTStmtWriter::VisitObjCAvailabilityCheckExpr(ObjCAvailabilityCheckExpr *E) {
1504 void ASTStmtWriter::VisitCXXCatchStmt(CXXCatchStmt *S) {
1512 void ASTStmtWriter::VisitCXXTryStmt(CXXTryStmt *S) {
1522 void ASTStmtWriter::VisitCXXForRangeStmt(CXXForRangeStmt *S) {
1539 void ASTStmtWriter::VisitMSDependentExistsStmt(MSDependentExistsStmt *S) {
1549 void ASTStmtWriter::VisitCXXOperatorCallExpr(CXXOperatorCallExpr *E) {
1557 void ASTStmtWriter::VisitCXXMemberCallExpr(CXXMemberCallExpr *E) {
1562 void ASTStmtWriter::VisitCXXRewrittenBinaryOperator(
1570 void ASTStmtWriter::VisitCXXConstructExpr(CXXConstructExpr *E) {
1590 void ASTStmtWriter::VisitCXXInheritedCtorInitExpr(CXXInheritedCtorInitExpr *E) {
1599 void ASTStmtWriter::VisitCXXTemporaryObjectExpr(CXXTemporaryObjectExpr *E) {
1605 void ASTStmtWriter::VisitLambdaExpr(LambdaExpr *E) {
1628 void ASTStmtWriter::VisitCXXStdInitializerListExpr(CXXStdInitializerListExpr *E) {
1634 void ASTStmtWriter::VisitCXXNamedCastExpr(CXXNamedCastExpr *E) {
1640 void ASTStmtWriter::VisitCXXStaticCastExpr(CXXStaticCastExpr *E) {
1645 void ASTStmtWriter::VisitCXXDynamicCastExpr(CXXDynamicCastExpr *E) {
1650 void ASTStmtWriter::VisitCXXReinterpretCastExpr(CXXReinterpretCastExpr *E) {
1655 void ASTStmtWriter::VisitCXXConstCastExpr(CXXConstCastExpr *E) {
1660 void ASTStmtWriter::VisitCXXAddrspaceCastExpr(CXXAddrspaceCastExpr *E) {
1665 void ASTStmtWriter::VisitCXXFunctionalCastExpr(CXXFunctionalCastExpr *E) {
1672 void ASTStmtWriter::VisitBuiltinBitCastExpr(BuiltinBitCastExpr *E) {
1679 void ASTStmtWriter::VisitUserDefinedLiteral(UserDefinedLiteral *E) {
1685 void ASTStmtWriter::VisitCXXBoolLiteralExpr(CXXBoolLiteralExpr *E) {
1692 void ASTStmtWriter::VisitCXXNullPtrLiteralExpr(CXXNullPtrLiteralExpr *E) {
1698 void ASTStmtWriter::VisitCXXTypeidExpr(CXXTypeidExpr *E) {
1710 void ASTStmtWriter::VisitCXXThisExpr(CXXThisExpr *E) {
1717 void ASTStmtWriter::VisitCXXThrowExpr(CXXThrowExpr *E) {
1725 void ASTStmtWriter::VisitCXXDefaultArgExpr(CXXDefaultArgExpr *E) {
1733 void ASTStmtWriter::VisitCXXDefaultInitExpr(CXXDefaultInitExpr *E) {
1741 void ASTStmtWriter::VisitCXXBindTemporaryExpr(CXXBindTemporaryExpr *E) {
1748 void ASTStmtWriter::VisitCXXScalarValueInitExpr(CXXScalarValueInitExpr *E) {
1755 void ASTStmtWriter::VisitCXXNewExpr(CXXNewExpr *E) {
1783 void ASTStmtWriter::VisitCXXDeleteExpr(CXXDeleteExpr *E) {
1796 void ASTStmtWriter::VisitCXXPseudoDestructorExpr(CXXPseudoDestructorExpr *E) {
1817 void ASTStmtWriter::VisitExprWithCleanups(ExprWithCleanups *E) {
1835 void ASTStmtWriter::VisitCXXDependentScopeMemberExpr(
1870 ASTStmtWriter::VisitDependentScopeDeclRefExpr(DependentScopeDeclRefExpr *E) {
1891 ASTStmtWriter::VisitCXXUnresolvedConstructExpr(CXXUnresolvedConstructExpr *E) {
1903 void ASTStmtWriter::VisitOverloadExpr(OverloadExpr *E) {
1926 void ASTStmtWriter::VisitUnresolvedMemberExpr(UnresolvedMemberExpr *E) {
1936 void ASTStmtWriter::VisitUnresolvedLookupExpr(UnresolvedLookupExpr *E) {
1944 void ASTStmtWriter::VisitTypeTraitExpr(TypeTraitExpr *E) {
1955 void ASTStmtWriter::VisitArrayTypeTraitExpr(ArrayTypeTraitExpr *E) {
1965 void ASTStmtWriter::VisitExpressionTraitExpr(ExpressionTraitExpr *E) {
1974 void ASTStmtWriter::VisitCXXNoexceptExpr(CXXNoexceptExpr *E) {
1982 void ASTStmtWriter::VisitPackExpansionExpr(PackExpansionExpr *E) {
1990 void ASTStmtWriter::VisitSizeOfPackExpr(SizeOfPackExpr *E) {
2007 void ASTStmtWriter::VisitSubstNonTypeTemplateParmExpr(
2016 void ASTStmtWriter::VisitSubstNonTypeTemplateParmPackExpr(
2025 void ASTStmtWriter::VisitFunctionParmPackExpr(FunctionParmPackExpr *E) {
2036 void ASTStmtWriter::VisitMaterializeTemporaryExpr(MaterializeTemporaryExpr *E) {
2046 void ASTStmtWriter::VisitCXXFoldExpr(CXXFoldExpr *E) {
2058 void ASTStmtWriter::VisitOpaqueValueExpr(OpaqueValueExpr *E) {
2066 void ASTStmtWriter::VisitTypoExpr(TypoExpr *E) {
2076 void ASTStmtWriter::VisitCUDAKernelCallExpr(CUDAKernelCallExpr *E) {
2085 void ASTStmtWriter::VisitAsTypeExpr(AsTypeExpr *E) {
2096 void ASTStmtWriter::VisitMSPropertyRefExpr(MSPropertyRefExpr *E) {
2106 void ASTStmtWriter::VisitMSPropertySubscriptExpr(MSPropertySubscriptExpr *E) {
2114 void ASTStmtWriter::VisitCXXUuidofExpr(CXXUuidofExpr *E) {
2127 void ASTStmtWriter::VisitSEHExceptStmt(SEHExceptStmt *S) {
2135 void ASTStmtWriter::VisitSEHFinallyStmt(SEHFinallyStmt *S) {
2142 void ASTStmtWriter::VisitSEHTryStmt(SEHTryStmt *S) {
2151 void ASTStmtWriter::VisitSEHLeaveStmt(SEHLeaveStmt *S) {
2160 void ASTStmtWriter::VisitOMPExecutableDirective(OMPExecutableDirective *E) {
2170 void ASTStmtWriter::VisitOMPLoopDirective(OMPLoopDirective *D) {
2233 void ASTStmtWriter::VisitOMPParallelDirective(OMPParallelDirective *D) {
2242 void ASTStmtWriter::VisitOMPSimdDirective(OMPSimdDirective *D) {
2247 void ASTStmtWriter::VisitOMPForDirective(OMPForDirective *D) {
2254 void ASTStmtWriter::VisitOMPForSimdDirective(OMPForSimdDirective *D) {
2259 void ASTStmtWriter::VisitOMPSectionsDirective(OMPSectionsDirective *D) {
2268 void ASTStmtWriter::VisitOMPSectionDirective(OMPSectionDirective *D) {
2275 void ASTStmtWriter::VisitOMPSingleDirective(OMPSingleDirective *D) {
2282 void ASTStmtWriter::VisitOMPMasterDirective(OMPMasterDirective *D) {
2288 void ASTStmtWriter::VisitOMPCriticalDirective(OMPCriticalDirective *D) {
2296 void ASTStmtWriter::VisitOMPParallelForDirective(OMPParallelForDirective *D) {
2303 void ASTStmtWriter::VisitOMPParallelForSimdDirective(
2309 void ASTStmtWriter::VisitOMPParallelMasterDirective(
2318 void ASTStmtWriter::VisitOMPParallelSectionsDirective(
2328 void ASTStmtWriter::VisitOMPTaskDirective(OMPTaskDirective *D) {
2336 void ASTStmtWriter::VisitOMPAtomicDirective(OMPAtomicDirective *D) {
2349 void ASTStmtWriter::VisitOMPTargetDirective(OMPTargetDirective *D) {
2356 void ASTStmtWriter::VisitOMPTargetDataDirective(OMPTargetDataDirective *D) {
2363 void ASTStmtWriter::VisitOMPTargetEnterDataDirective(
2371 void ASTStmtWriter::VisitOMPTargetExitDataDirective(
2379 void ASTStmtWriter::VisitOMPTargetParallelDirective(
2389 void ASTStmtWriter::VisitOMPTargetParallelForDirective(
2397 void ASTStmtWriter::VisitOMPTaskyieldDirective(OMPTaskyieldDirective *D) {
2403 void ASTStmtWriter::VisitOMPBarrierDirective(OMPBarrierDirective *D) {
2409 void ASTStmtWriter::VisitOMPTaskwaitDirective(OMPTaskwaitDirective *D) {
2415 void ASTStmtWriter::VisitOMPTaskgroupDirective(OMPTaskgroupDirective *D) {
2423 void ASTStmtWriter::VisitOMPFlushDirective(OMPFlushDirective *D) {
2430 void ASTStmtWriter::VisitOMPDepobjDirective(OMPDepobjDirective *D) {
2437 void ASTStmtWriter::VisitOMPScanDirective(OMPScanDirective *D) {
2444 void ASTStmtWriter::VisitOMPOrderedDirective(OMPOrderedDirective *D) {
2451 void ASTStmtWriter::VisitOMPTeamsDirective(OMPTeamsDirective *D) {
2458 void ASTStmtWriter::VisitOMPCancellationPointDirective(
2466 void ASTStmtWriter::VisitOMPCancelDirective(OMPCancelDirective *D) {
2474 void ASTStmtWriter::VisitOMPTaskLoopDirective(OMPTaskLoopDirective *D) {
2480 void ASTStmtWriter::VisitOMPTaskLoopSimdDirective(OMPTaskLoopSimdDirective *D) {
2485 void ASTStmtWriter::VisitOMPMasterTaskLoopDirective(
2492 void ASTStmtWriter::VisitOMPMasterTaskLoopSimdDirective(
2498 void ASTStmtWriter::VisitOMPParallelMasterTaskLoopDirective(
2505 void ASTStmtWriter::VisitOMPParallelMasterTaskLoopSimdDirective(
2511 void ASTStmtWriter::VisitOMPDistributeDirective(OMPDistributeDirective *D) {
2516 void ASTStmtWriter::VisitOMPTargetUpdateDirective(OMPTargetUpdateDirective *D) {
2523 void ASTStmtWriter::VisitOMPDistributeParallelForDirective(
2531 void ASTStmtWriter::VisitOMPDistributeParallelForSimdDirective(
2537 void ASTStmtWriter::VisitOMPDistributeSimdDirective(
2543 void ASTStmtWriter::VisitOMPTargetParallelForSimdDirective(
2549 void ASTStmtWriter::VisitOMPTargetSimdDirective(OMPTargetSimdDirective *D) {
2554 void ASTStmtWriter::VisitOMPTeamsDistributeDirective(
2560 void ASTStmtWriter::VisitOMPTeamsDistributeSimdDirective(
2566 void ASTStmtWriter::VisitOMPTeamsDistributeParallelForSimdDirective(
2572 void ASTStmtWriter::VisitOMPTeamsDistributeParallelForDirective(
2580 void ASTStmtWriter::VisitOMPTargetTeamsDirective(OMPTargetTeamsDirective *D) {
2587 void ASTStmtWriter::VisitOMPTargetTeamsDistributeDirective(
2593 void ASTStmtWriter::VisitOMPTargetTeamsDistributeParallelForDirective(
2601 void ASTStmtWriter::VisitOMPTargetTeamsDistributeParallelForSimdDirective(
2608 void ASTStmtWriter::VisitOMPTargetTeamsDistributeSimdDirective(
2640 ASTStmtWriter Writer(*this, Record);