From a84ebc3af9c2086581008e7a05444698e1a6eb15 Mon Sep 17 00:00:00 2001 From: James Price Date: Thu, 22 Dec 2022 14:32:16 +0000 Subject: [PATCH] tint: Add forward declaration for CastableBase This fixes the google3 build, which compiles headers in isolation. Change-Id: I3c9a91caa75c6da1d9dcc17bb6d2aeb5834c197e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/115440 Reviewed-by: Antonio Maiorano Kokoro: Kokoro Auto-Submit: James Price Commit-Queue: Antonio Maiorano --- src/tint/sem/type_mappings.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tint/sem/type_mappings.h b/src/tint/sem/type_mappings.h index 6502f9aa3e..f8aca4db42 100644 --- a/src/tint/sem/type_mappings.h +++ b/src/tint/sem/type_mappings.h @@ -18,6 +18,9 @@ #include // Forward declarations +namespace tint { +class CastableBase; +} // namespace tint namespace tint::ast { class Array; class Expression;