Skip to content

Commit e989eab

Browse files
committed
Update test case (remove references to MacroInvocationStmt and MacroInvocationExpr)
1 parent f8d52a3 commit e989eab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cpp/ql/test/examples/expressions/PrintAST.expected

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ Varargs.c:
919919
# 9| 0: [VariableDeclarationEntry] definition of args
920920
# 9| Type = [TypedefType] va_list
921921
# 10| 1: [ExprStmt] ExprStmt
922-
# 10| 0: [BuiltInVarArgsStart,MacroInvocationExpr] __builtin_va_start
922+
# 10| 0: [BuiltInVarArgsStart] __builtin_va_start
923923
# 10| Type = [VoidType] void
924924
# 10| ValueCategory = prvalue
925925
# 10| 0: [ArrayToPointerConversion] array to pointer conversion
@@ -932,7 +932,7 @@ Varargs.c:
932932
# 10| Type = [PointerType] const char *
933933
# 10| ValueCategory = lvalue
934934
# 11| 2: [ExprStmt] ExprStmt
935-
# 11| 0: [BuiltInVarArgsEnd,MacroInvocationExpr] __builtin_va_end
935+
# 11| 0: [BuiltInVarArgsEnd] __builtin_va_end
936936
# 11| Type = [VoidType] void
937937
# 11| ValueCategory = prvalue
938938
# 11| 0: [ArrayToPointerConversion] array to pointer conversion
@@ -1022,7 +1022,7 @@ macro_etc.c:
10221022
# 26| Type = [IntType] int
10231023
# 26| ValueCategory = prvalue(load)
10241024
# 26| 5: [VlaDeclStmt] VLA declaration
1025-
# 27| 6: [ForStmt,MacroInvocationStmt] for(...;...;...) ...
1025+
# 27| 6: [ForStmt] for(...;...;...) ...
10261026
# 27| 0: [ExprStmt] ExprStmt
10271027
# 27| 0: [AssignExpr] ... = ...
10281028
# 27| Type = [PlainCharType] char
@@ -1074,7 +1074,7 @@ macro_etc.c:
10741074
# 27| expr: [VariableAccess] i
10751075
# 27| Type = [PlainCharType] char
10761076
# 27| ValueCategory = prvalue(load)
1077-
# 28| 7: [ForStmt,MacroInvocationStmt] for(...;...;...) ...
1077+
# 28| 7: [ForStmt] for(...;...;...) ...
10781078
# 28| 0: [ExprStmt] ExprStmt
10791079
# 28| 0: [AssignExpr] ... = ...
10801080
# 28| Type = [PlainCharType] char
@@ -1127,7 +1127,7 @@ macro_etc.c:
11271127
# 28| Type = [PlainCharType] char
11281128
# 28| ValueCategory = prvalue(load)
11291129
# 29| 8: [ExprStmt] ExprStmt
1130-
# 29| 0: [AssignExpr,MacroInvocationExpr] ... = ...
1130+
# 29| 0: [AssignExpr] ... = ...
11311131
# 29| Type = [CharPointerType] char *
11321132
# 29| ValueCategory = prvalue
11331133
# 29| 0: [VariableAccess] bt

0 commit comments

Comments
 (0)