[gjs/mozjs102: 50/62] CI: Work around IWYU bug
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/mozjs102: 50/62] CI: Work around IWYU bug
- Date: Sun, 7 Aug 2022 17:53:00 +0000 (UTC)
commit 6e4aa01fee791458b79decd4a87753c759f99888
Author: Philip Chimento <philip chimento gmail com>
Date: Sat Aug 6 16:51:34 2022 -0700
CI: Work around IWYU bug
Apparently we need the same workaround as for function.cpp, where IWYU
non-deterministically recommends "max" sometimes and "max, copy" other
times.
tools/process_iwyu.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tools/process_iwyu.py b/tools/process_iwyu.py
index b9eabf22f..6699f4ece 100755
--- a/tools/process_iwyu.py
+++ b/tools/process_iwyu.py
@@ -73,7 +73,8 @@ FALSE_POSITIVES = (
('gi/function.cpp', '#include <algorithm>', 'for fill_n, max'), # also!
('gi/private.cpp', '#include <algorithm>', 'for max'),
('gjs/context.cpp', '#include <algorithm>', 'for copy, max, find'),
- ('gjs/importer.cpp', '#include <algorithm>', 'for max, copy'),
+ ('gjs/importer.cpp', '#include <algorithm>', 'for max'),
+ ('gjs/importer.cpp', '#include <algorithm>', 'for max, copy'), # also!
('modules/cairo-context.cpp', '#include <algorithm>', 'for max'),
# False positive when using EnumType operators
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]