@@ -690,6 +690,7 @@ public override AST.Stmt VisitDeclStmt(DeclStmt stmt)
690
690
{
691
691
var _stmt = new AST . DeclStmt ( ) ;
692
692
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
693
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
693
694
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
694
695
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
695
696
_stmt . IsSingleDecl = stmt . IsSingleDecl ;
@@ -706,6 +707,7 @@ public override AST.Stmt VisitNullStmt(NullStmt stmt)
706
707
{
707
708
var _stmt = new AST . NullStmt ( ) ;
708
709
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
710
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
709
711
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
710
712
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
711
713
_stmt . SemiLoc = VisitSourceLocation ( stmt . SemiLoc ) ;
@@ -717,6 +719,7 @@ public override AST.Stmt VisitCompoundStmt(CompoundStmt stmt)
717
719
{
718
720
var _stmt = new AST . CompoundStmt ( ) ;
719
721
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
722
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
720
723
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
721
724
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
722
725
_stmt . BodyEmpty = stmt . BodyEmpty ;
@@ -737,6 +740,7 @@ public override AST.Stmt VisitCaseStmt(CaseStmt stmt)
737
740
{
738
741
var _stmt = new AST . CaseStmt ( ) ;
739
742
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
743
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
740
744
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
741
745
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
742
746
_stmt . KeywordLoc = VisitSourceLocation ( stmt . KeywordLoc ) ;
@@ -754,6 +758,7 @@ public override AST.Stmt VisitDefaultStmt(DefaultStmt stmt)
754
758
{
755
759
var _stmt = new AST . DefaultStmt ( ) ;
756
760
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
761
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
757
762
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
758
763
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
759
764
_stmt . KeywordLoc = VisitSourceLocation ( stmt . KeywordLoc ) ;
@@ -767,6 +772,7 @@ public override AST.Stmt VisitLabelStmt(LabelStmt stmt)
767
772
{
768
773
var _stmt = new AST . LabelStmt ( ) ;
769
774
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
775
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
770
776
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
771
777
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
772
778
_stmt . IdentLoc = VisitSourceLocation ( stmt . IdentLoc ) ;
@@ -779,6 +785,7 @@ public override AST.Stmt VisitAttributedStmt(AttributedStmt stmt)
779
785
{
780
786
var _stmt = new AST . AttributedStmt ( ) ;
781
787
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
788
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
782
789
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
783
790
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
784
791
_stmt . AttrLoc = VisitSourceLocation ( stmt . AttrLoc ) ;
@@ -790,6 +797,7 @@ public override AST.Stmt VisitIfStmt(IfStmt stmt)
790
797
{
791
798
var _stmt = new AST . IfStmt ( ) ;
792
799
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
800
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
793
801
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
794
802
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
795
803
_stmt . Cond = VisitExpression ( stmt . Cond ) as AST . Expr ;
@@ -811,6 +819,7 @@ public override AST.Stmt VisitSwitchStmt(SwitchStmt stmt)
811
819
{
812
820
var _stmt = new AST . SwitchStmt ( ) ;
813
821
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
822
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
814
823
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
815
824
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
816
825
_stmt . Cond = VisitExpression ( stmt . Cond ) as AST . Expr ;
@@ -828,6 +837,7 @@ public override AST.Stmt VisitWhileStmt(WhileStmt stmt)
828
837
{
829
838
var _stmt = new AST . WhileStmt ( ) ;
830
839
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
840
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
831
841
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
832
842
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
833
843
_stmt . Cond = VisitExpression ( stmt . Cond ) as AST . Expr ;
@@ -842,6 +852,7 @@ public override AST.Stmt VisitDoStmt(DoStmt stmt)
842
852
{
843
853
var _stmt = new AST . DoStmt ( ) ;
844
854
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
855
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
845
856
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
846
857
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
847
858
_stmt . Cond = VisitExpression ( stmt . Cond ) as AST . Expr ;
@@ -856,6 +867,7 @@ public override AST.Stmt VisitForStmt(ForStmt stmt)
856
867
{
857
868
var _stmt = new AST . ForStmt ( ) ;
858
869
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
870
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
859
871
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
860
872
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
861
873
_stmt . Init = VisitStatement ( stmt . Init ) as AST . Stmt ;
@@ -873,6 +885,7 @@ public override AST.Stmt VisitGotoStmt(GotoStmt stmt)
873
885
{
874
886
var _stmt = new AST . GotoStmt ( ) ;
875
887
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
888
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
876
889
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
877
890
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
878
891
_stmt . GotoLoc = VisitSourceLocation ( stmt . GotoLoc ) ;
@@ -884,6 +897,7 @@ public override AST.Stmt VisitIndirectGotoStmt(IndirectGotoStmt stmt)
884
897
{
885
898
var _stmt = new AST . IndirectGotoStmt ( ) ;
886
899
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
900
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
887
901
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
888
902
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
889
903
_stmt . GotoLoc = VisitSourceLocation ( stmt . GotoLoc ) ;
@@ -896,6 +910,7 @@ public override AST.Stmt VisitContinueStmt(ContinueStmt stmt)
896
910
{
897
911
var _stmt = new AST . ContinueStmt ( ) ;
898
912
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
913
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
899
914
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
900
915
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
901
916
_stmt . ContinueLoc = VisitSourceLocation ( stmt . ContinueLoc ) ;
@@ -906,6 +921,7 @@ public override AST.Stmt VisitBreakStmt(BreakStmt stmt)
906
921
{
907
922
var _stmt = new AST . BreakStmt ( ) ;
908
923
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
924
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
909
925
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
910
926
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
911
927
_stmt . BreakLoc = VisitSourceLocation ( stmt . BreakLoc ) ;
@@ -916,6 +932,7 @@ public override AST.Stmt VisitReturnStmt(ReturnStmt stmt)
916
932
{
917
933
var _stmt = new AST . ReturnStmt ( ) ;
918
934
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
935
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
919
936
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
920
937
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
921
938
_stmt . RetValue = VisitExpression ( stmt . RetValue ) as AST . Expr ;
@@ -927,6 +944,7 @@ public override AST.Stmt VisitGCCAsmStmt(GCCAsmStmt stmt)
927
944
{
928
945
var _stmt = new AST . GCCAsmStmt ( ) ;
929
946
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
947
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
930
948
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
931
949
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
932
950
_stmt . AsmLoc = VisitSourceLocation ( stmt . AsmLoc ) ;
@@ -954,6 +972,7 @@ public override AST.Stmt VisitMSAsmStmt(MSAsmStmt stmt)
954
972
{
955
973
var _stmt = new AST . MSAsmStmt ( ) ;
956
974
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
975
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
957
976
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
958
977
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
959
978
_stmt . AsmLoc = VisitSourceLocation ( stmt . AsmLoc ) ;
@@ -984,6 +1003,7 @@ public override AST.Stmt VisitSEHExceptStmt(SEHExceptStmt stmt)
984
1003
{
985
1004
var _stmt = new AST . SEHExceptStmt ( ) ;
986
1005
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1006
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
987
1007
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
988
1008
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
989
1009
_stmt . ExceptLoc = VisitSourceLocation ( stmt . ExceptLoc ) ;
@@ -996,6 +1016,7 @@ public override AST.Stmt VisitSEHFinallyStmt(SEHFinallyStmt stmt)
996
1016
{
997
1017
var _stmt = new AST . SEHFinallyStmt ( ) ;
998
1018
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1019
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
999
1020
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1000
1021
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1001
1022
_stmt . FinallyLoc = VisitSourceLocation ( stmt . FinallyLoc ) ;
@@ -1007,6 +1028,7 @@ public override AST.Stmt VisitSEHTryStmt(SEHTryStmt stmt)
1007
1028
{
1008
1029
var _stmt = new AST . SEHTryStmt ( ) ;
1009
1030
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1031
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
1010
1032
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1011
1033
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1012
1034
_stmt . TryLoc = VisitSourceLocation ( stmt . TryLoc ) ;
@@ -1022,6 +1044,7 @@ public override AST.Stmt VisitSEHLeaveStmt(SEHLeaveStmt stmt)
1022
1044
{
1023
1045
var _stmt = new AST . SEHLeaveStmt ( ) ;
1024
1046
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1047
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
1025
1048
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1026
1049
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1027
1050
_stmt . LeaveLoc = VisitSourceLocation ( stmt . LeaveLoc ) ;
@@ -1032,6 +1055,7 @@ public override AST.Stmt VisitCapturedStmt(CapturedStmt stmt)
1032
1055
{
1033
1056
var _stmt = new AST . CapturedStmt ( ) ;
1034
1057
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1058
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
1035
1059
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1036
1060
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1037
1061
_stmt . capturedStmt = VisitStatement ( stmt . capturedStmt ) as AST . Stmt ;
@@ -1048,6 +1072,7 @@ public override AST.Stmt VisitCXXCatchStmt(CXXCatchStmt stmt)
1048
1072
{
1049
1073
var _stmt = new AST . CXXCatchStmt ( ) ;
1050
1074
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1075
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
1051
1076
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1052
1077
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1053
1078
_stmt . CatchLoc = VisitSourceLocation ( stmt . CatchLoc ) ;
@@ -1060,6 +1085,7 @@ public override AST.Stmt VisitCXXTryStmt(CXXTryStmt stmt)
1060
1085
{
1061
1086
var _stmt = new AST . CXXTryStmt ( ) ;
1062
1087
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1088
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
1063
1089
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1064
1090
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1065
1091
_stmt . TryLoc = VisitSourceLocation ( stmt . TryLoc ) ;
@@ -1072,6 +1098,7 @@ public override AST.Stmt VisitCXXForRangeStmt(CXXForRangeStmt stmt)
1072
1098
{
1073
1099
var _stmt = new AST . CXXForRangeStmt ( ) ;
1074
1100
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1101
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
1075
1102
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1076
1103
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1077
1104
_stmt . Init = VisitStatement ( stmt . Init ) as AST . Stmt ;
@@ -1094,6 +1121,7 @@ public override AST.Stmt VisitMSDependentExistsStmt(MSDependentExistsStmt stmt)
1094
1121
{
1095
1122
var _stmt = new AST . MSDependentExistsStmt ( ) ;
1096
1123
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1124
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
1097
1125
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1098
1126
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1099
1127
_stmt . KeywordLoc = VisitSourceLocation ( stmt . KeywordLoc ) ;
@@ -1107,6 +1135,7 @@ public override AST.Stmt VisitCoroutineBodyStmt(CoroutineBodyStmt stmt)
1107
1135
{
1108
1136
var _stmt = new AST . CoroutineBodyStmt ( ) ;
1109
1137
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1138
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
1110
1139
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1111
1140
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1112
1141
_stmt . HasDependentPromiseType = stmt . HasDependentPromiseType ;
@@ -1129,6 +1158,7 @@ public override AST.Stmt VisitCoreturnStmt(CoreturnStmt stmt)
1129
1158
{
1130
1159
var _stmt = new AST . CoreturnStmt ( ) ;
1131
1160
_stmt . SourceRange = VisitSourceRange ( stmt . SourceRange ) ;
1161
+ _stmt . BeginLoc = VisitSourceLocation ( stmt . BeginLoc ) ;
1132
1162
_stmt . EndLoc = VisitSourceLocation ( stmt . EndLoc ) ;
1133
1163
_stmt . StripLabelLikeStatements = VisitStatement ( stmt . StripLabelLikeStatements ) as AST . Stmt ;
1134
1164
_stmt . IsImplicit = stmt . IsImplicit ;
0 commit comments