[gjs: 7/12] CI: Remove workarounds no longer needed for IWYU 0.14




commit c8b491463c2ca546eb23b3ba69b9da149cc50aca
Author: Philip Chimento <philip chimento gmail com>
Date:   Mon Nov 23 22:41:21 2020 -0800

    CI: Remove workarounds no longer needed for IWYU 0.14

 tools/gjs-private-iwyu.imp | 5 -----
 tools/process_iwyu.py      | 1 -
 2 files changed, 6 deletions(-)
---
diff --git a/tools/gjs-private-iwyu.imp b/tools/gjs-private-iwyu.imp
index 0234ef55..e3c32723 100644
--- a/tools/gjs-private-iwyu.imp
+++ b/tools/gjs-private-iwyu.imp
@@ -3,15 +3,10 @@
 
 # IWYU mapping file for files that are part of libgjs
 [
-  {"include": ["<bits/std_abs.h>", "private", "<stdlib.h>", "public"]},
-  {"include": ["<bits/std_function.h>", "private", "<functional>", "public"]},
-  {"include": ["@<bits/stdint-.*>", "private", "<stdint.h>", "public"]},
   {"include": ["<bits/types/sigevent_t.h>", "private", "<signal.h>", "public"]},
   {"include": ["<bits/types/siginfo_t.h>", "private", "<signal.h>", "public"]},
   {"include": ["<bits/types/struct_itimerspec.h>", "private", "<time.h>", "public"]},
-  {"include": ["<bits/types/struct_timespec.h>", "private", "<time.h>", "public"]},
   {"include": ["<bits/types/timer_t.h>", "private", "<sys/types.h>", "public"]},
-  {"include": ["<ext/alloc_traits.h>", "private", "<memory>", "public"]},
 
   {"include": ["@<ffi.*>", "private", "<ffi.h>", "public"]},
   {"include": ["@\"gio/.*\"", "private", "<gio/gio.h>", "public"]},
diff --git a/tools/process_iwyu.py b/tools/process_iwyu.py
index 9c28d126..2479e342 100755
--- a/tools/process_iwyu.py
+++ b/tools/process_iwyu.py
@@ -95,7 +95,6 @@ FALSE_POSITIVES = (
      'for remove_reference<>::type'),
 
     # Weird false positive on some versions of IWYU
-    ('gi/arg.cpp', 'struct _GHashTable;', ''),
     ('gi/arg.cpp', 'struct _GVariant;', ''),
     ('gjs/profiler.cpp', '#include <gjs/profiler.h>', ''),
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]