From ea4ecac693d50b5c8c133a990f36ad2786284b6b Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Thu, 10 Dec 2020 15:32:56 -0800 Subject: CI: Fix stdint.h IWYU workaround This handles the case where IWYU wants to add but is already included. --- tools/process_iwyu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/process_iwyu.py b/tools/process_iwyu.py index df8d1559..7d4ac181 100755 --- a/tools/process_iwyu.py +++ b/tools/process_iwyu.py @@ -119,7 +119,7 @@ def output(): why = add.pop(CSTDINT, None) if STDINTH in remove: remove.pop(STDINTH, None) - else: + elif STDINTH not in all_includes: add[STDINTH] = why if add_fwd_header: -- cgit v1.2.1