diff --git a/llvm/lib/Target/SPIRV/SPIRVMCInstLower.h b/llvm/lib/Target/SPIRV/SPIRVMCInstLower.h index 66fa903e11c3..8392656ed067 100644 --- a/llvm/lib/Target/SPIRV/SPIRVMCInstLower.h +++ b/llvm/lib/Target/SPIRV/SPIRVMCInstLower.h @@ -15,7 +15,7 @@ namespace llvm { class MCInst; class MachineInstr; namespace SPIRV { -class ModuleAnalysisInfo; +struct ModuleAnalysisInfo; } // namespace SPIRV // This class is used to lower a MachineInstr into an MCInst.