[gjs] CI: Update IWYU includes
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] CI: Update IWYU includes
- Date: Sat, 8 Aug 2020 19:44:08 +0000 (UTC)
commit ef0f9dbee71fa5458ef8b3de786d3b65641f143f
Author: Philip Chimento <philip chimento gmail com>
Date: Sat Aug 8 12:33:45 2020 -0700
CI: Update IWYU includes
modules/print.cpp | 1 -
tools/process_iwyu.py | 4 ++++
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/modules/print.cpp b/modules/print.cpp
index 5c82c5c7..bccbcfed 100644
--- a/modules/print.cpp
+++ b/modules/print.cpp
@@ -17,7 +17,6 @@
#include <js/RootingAPI.h>
#include <js/TypeDecls.h>
#include <js/Utility.h> // for UniqueChars
-#include <js/Value.h>
#include <jsapi.h>
#include "gjs/jsapi-util.h"
diff --git a/tools/process_iwyu.py b/tools/process_iwyu.py
index 786bb67f..c7761ca4 100755
--- a/tools/process_iwyu.py
+++ b/tools/process_iwyu.py
@@ -65,6 +65,10 @@ FALSE_POSITIVES = (
('gi/private.cpp', '#include <algorithm>', 'for max'),
('gjs/importer.cpp', '#include <algorithm>', 'for max'),
('modules/cairo-context.cpp', '#include <algorithm>', 'for max'),
+
+ # Weird false positive on some versions of IWYU
+ ('gi/arg.cpp', 'struct _GHashTable;', ''),
+ ('gi/arg.cpp', 'struct _GVariant;', ''),
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]