From ca9567debcc5eb701614fa4b8161d08cc66ea7ab Mon Sep 17 00:00:00 2001 From: Chuan-kai Lin Date: Fri, 3 May 2024 11:14:41 -0700 Subject: [PATCH] C++: Use entities in reorder directives --- .../upgrade.properties | 4 ++-- .../upgrade.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/downgrades/19887dbd33327fb07d54251786e0cb2578539775/upgrade.properties b/cpp/downgrades/19887dbd33327fb07d54251786e0cb2578539775/upgrade.properties index eab51f4d94d0..f93f9fc8d042 100644 --- a/cpp/downgrades/19887dbd33327fb07d54251786e0cb2578539775/upgrade.properties +++ b/cpp/downgrades/19887dbd33327fb07d54251786e0cb2578539775/upgrade.properties @@ -1,4 +1,4 @@ description: Revert support for repeated initializers, which are allowed in C with designated initializers. compatibility: full -aggregate_field_init.rel: reorder aggregate_field_init.rel (int aggregate, int initializer, int field, int position) aggregate initializer field -aggregate_array_init.rel: reorder aggregate_array_init.rel (int aggregate, int initializer, int element_index, int position) aggregate initializer element_index +aggregate_field_init.rel: reorder aggregate_field_init.rel (@aggregateliteral aggregate, @expr initializer, @membervariable field, int position) aggregate initializer field +aggregate_array_init.rel: reorder aggregate_array_init.rel (@aggregateliteral aggregate, @expr initializer, int element_index, int position) aggregate initializer element_index diff --git a/cpp/ql/lib/upgrades/ddd31fd02e51ad270bc9e6712708e5a5b6881518/upgrade.properties b/cpp/ql/lib/upgrades/ddd31fd02e51ad270bc9e6712708e5a5b6881518/upgrade.properties index a0c4ba602a1e..3e361d800fbc 100644 --- a/cpp/ql/lib/upgrades/ddd31fd02e51ad270bc9e6712708e5a5b6881518/upgrade.properties +++ b/cpp/ql/lib/upgrades/ddd31fd02e51ad270bc9e6712708e5a5b6881518/upgrade.properties @@ -1,4 +1,4 @@ description: Removed unused column from the `folders` and `files` relations compatibility: full -files.rel: reorder files.rel (int id, string name, string simple, string ext, int fromSource) id name -folders.rel: reorder folders.rel (int id, string name, string simple) id name \ No newline at end of file +files.rel: reorder files.rel (@file id, string name, string simple, string ext, int fromSource) id name +folders.rel: reorder folders.rel (@folder id, string name, string simple) id name \ No newline at end of file