From 6caa848b236fcfee8a77cbc2e064117072e10309 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Mon, 1 Jul 2024 17:41:09 -0700 Subject: [PATCH] SourceInfo is a struct; declare it as such in forward declaration. PiperOrigin-RevId: 648537041 --- xls/public/function_builder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xls/public/function_builder.h b/xls/public/function_builder.h index 289102037b..a2162eae6c 100644 --- a/xls/public/function_builder.h +++ b/xls/public/function_builder.h @@ -24,7 +24,7 @@ namespace xls { class Bits; // IWYU pragma: keep enum class LsbOrMsb; // IWYU pragma: keep -class SourceInfo; // IWYU pragma: keep +struct SourceInfo; // IWYU pragma: keep class Type; // IWYU pragma: keep } // namespace xls // IWYU pragma: end_exports