constructors helper function @brief Information about a member variable. Used when checking for uninitialized variables */
| 241 | // constructors helper function |
| 242 | /** @brief Information about a member variable. Used when checking for uninitialized variables */ |
| 243 | struct Usage { |
| 244 | explicit Usage(const Variable *var) : var(var) {} |
| 245 | |
| 246 | /** Variable that this usage is for */ |
| 247 | const Variable *var; |
| 248 | |
| 249 | /** @brief has this variable been assigned? */ |
| 250 | bool assign{}; |
| 251 | |
| 252 | /** @brief has this variable been initialized? */ |
| 253 | bool init{}; |
| 254 | }; |
| 255 | |
| 256 | static void handleUnionMembers(std::vector<Usage>& usageList); |
| 257 |