From 01c78a0617321a3b3ea9bde09b7deb6aa510545b Mon Sep 17 00:00:00 2001 From: Nan Zhou Date: Tue, 20 Sep 2022 18:17:20 +0000 Subject: registries: iwyu Made the auto-generated headers and the openbmc registry include what they use. Also alligned the include style. Tested: code compiles. Signed-off-by: Nan Zhou Change-Id: I6577d5e12bc02da3bd7bf5780f89a4860b314e19 --- scripts/parse_registries.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py index 8c300eda2e..bc546575e3 100755 --- a/scripts/parse_registries.py +++ b/scripts/parse_registries.py @@ -19,7 +19,9 @@ WARNING = '''/**************************************************************** ***************************************************************/''' REGISTRY_HEADER = PRAGMA_ONCE + WARNING + ''' -#include +#include "registries.hpp" + +#include // clang-format off @@ -166,7 +168,9 @@ def get_variable_name_for_privilege_set(privilege_list): PRIVILEGE_HEADER = PRAGMA_ONCE + WARNING + ''' -#include +#include "privileges.hpp" + +#include // clang-format off -- cgit v1.2.3