[gjs: 11/12] js: Remove IWYU pragma from includes
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 11/12] js: Remove IWYU pragma from includes
- Date: Mon, 30 Nov 2020 21:29:30 +0000 (UTC)
commit 51b8059de59dff2866141103ec15fdacd14c5620
Author: Philip Chimento <philip chimento gmail com>
Date: Sun Nov 29 21:55:20 2020 -0800
js: Remove IWYU pragma from includes
In IWYU, apparently the bug has been fixed that was causing these to be
erroneously suggested for removal.
gjs/jsapi-class.h | 4 ++--
gjs/macros.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gjs/jsapi-class.h b/gjs/jsapi-class.h
index 9ecf8d3f..5fb3961c 100644
--- a/gjs/jsapi-class.h
+++ b/gjs/jsapi-class.h
@@ -12,8 +12,8 @@
#include <js/TypeDecls.h>
-#include "gi/wrapperutils.h" // IWYU pragma: keep
-#include "gjs/global.h" // IWYU pragma: keep
+#include "gi/wrapperutils.h"
+#include "gjs/global.h"
#include "gjs/jsapi-util.h"
#include "gjs/macros.h"
diff --git a/gjs/macros.h b/gjs/macros.h
index 82cc8d91..95109976 100644
--- a/gjs/macros.h
+++ b/gjs/macros.h
@@ -7,7 +7,7 @@
#ifndef GJS_MACROS_H_
#define GJS_MACROS_H_
-#include <glib.h> /* IWYU pragma: keep */
+#include <glib.h>
#ifdef G_OS_WIN32
# ifdef GJS_COMPILATION
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]