diff --git a/src/torque/global-context.h b/src/torque/global-context.h index 1e1ae2317a..33573f7175 100644 --- a/src/torque/global-context.h +++ b/src/torque/global-context.h @@ -17,6 +17,8 @@ namespace torque { class GlobalContext; class Scope; class TypeOracle; +class Builtin; +class Label; class Module { public: diff --git a/src/torque/scope.h b/src/torque/scope.h index 9b1e169aaf..21438da8fe 100644 --- a/src/torque/scope.h +++ b/src/torque/scope.h @@ -17,6 +17,8 @@ namespace internal { namespace torque { class ScopeChain; +class Variable; +class Declarable; class Scope { public: diff --git a/src/torque/types.h b/src/torque/types.h index f1b6cd9c7e..490eeb78b6 100644 --- a/src/torque/types.h +++ b/src/torque/types.h @@ -34,6 +34,7 @@ static const char* const CONST_FLOAT64_TYPE_STRING = "constexpr float64"; class Label; class Value; +class Module; class TypeBase { public: diff --git a/tools/generate-header-include-checks.py b/tools/generate-header-include-checks.py index a5024720a5..95429b22e0 100755 --- a/tools/generate-header-include-checks.py +++ b/tools/generate-header-include-checks.py @@ -122,7 +122,6 @@ AUTO_EXCLUDE = [ ] AUTO_EXCLUDE_PATTERNS = [ 'src/base/atomicops_internals_.*', - 'src/torque/.*', ] + [ # platform-specific headers '\\b{}\\b'.format(p) for p in