mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
C++: Accept test changes.
This commit is contained in:
@@ -216,7 +216,7 @@ namespace GlobalFieldFlow {
|
||||
}
|
||||
|
||||
void read_field() {
|
||||
sink(global_s.m1); // $ MISSING: ast,ir
|
||||
sink(global_s.m1); // $ ir MISSING: ast
|
||||
}
|
||||
|
||||
void set_nested_field() {
|
||||
@@ -224,7 +224,7 @@ namespace GlobalFieldFlow {
|
||||
}
|
||||
|
||||
void read_nested_field() {
|
||||
sink(global_s2.s.m1); // $ MISSING: ast,ir
|
||||
sink(global_s2.s.m1); // $ ir MISSING: ast
|
||||
}
|
||||
|
||||
S* global_s_ptr;
|
||||
@@ -235,7 +235,7 @@ namespace GlobalFieldFlow {
|
||||
}
|
||||
|
||||
void read_field_ptr() {
|
||||
sink(global_s_ptr->m1); // $ MISSING: ast,ir
|
||||
sink(global_s_ptr->m1); // $ ir MISSING: ast
|
||||
}
|
||||
|
||||
void set_nested_field_ptr() {
|
||||
@@ -243,7 +243,7 @@ namespace GlobalFieldFlow {
|
||||
}
|
||||
|
||||
void read_nested_field_ptr() {
|
||||
sink(global_s2_ptr->s.m1); // $ MISSING: ast,ir
|
||||
sink(global_s2_ptr->s.m1); // $ ir MISSING: ast
|
||||
}
|
||||
|
||||
S_with_pointer global_s_with_pointer;
|
||||
@@ -253,7 +253,7 @@ namespace GlobalFieldFlow {
|
||||
}
|
||||
|
||||
void read_field_indirect() {
|
||||
sink(*global_s_with_pointer.data); // $ MISSING: ast,ir
|
||||
sink(*global_s_with_pointer.data); // $ ir MISSING: ast
|
||||
}
|
||||
|
||||
S_with_array global_s_with_array;
|
||||
@@ -263,6 +263,6 @@ namespace GlobalFieldFlow {
|
||||
}
|
||||
|
||||
void read_field_array() {
|
||||
sink(*global_s_with_array.data); // $ MISSING: ast,ir
|
||||
sink(*global_s_with_array.data); // $ ir MISSING: ast
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user