[gjs/june-maintenance: 1/3] build: Remove JSTracer forward declaration from IWYU processing



commit 5f3a5bb7b4033ff6b73699e39cabe06e4aa98acd
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Jul 4 12:04:29 2020 -0700

    build: Remove JSTracer forward declaration from IWYU processing
    
    I mistakenly put it into the postprocessor thinking it was forward-
    declared in js/TypeDecls.h, but it isn't.

 gi/closure.h          | 1 +
 tools/process_iwyu.py | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gi/closure.h b/gi/closure.h
index df5fdc9e..e1a2478f 100644
--- a/gi/closure.h
+++ b/gi/closure.h
@@ -32,6 +32,7 @@
 
 #include "gjs/macros.h"
 
+class JSTracer;
 namespace JS {
 class HandleValueArray;
 }
diff --git a/tools/process_iwyu.py b/tools/process_iwyu.py
index dd6656b2..786bb67f 100755
--- a/tools/process_iwyu.py
+++ b/tools/process_iwyu.py
@@ -41,7 +41,6 @@ FWD_DECLS_IN_HEADER = (
     'struct JSRuntime;',
     'class JSScript;',
     'class JSString;',
-    'class JSTracer;',
     'struct JSFreeOp;',
     'namespace js { class TempAllocPolicy; }'
     'namespace JS { struct PropertyKey; }',


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