Forward-declare LogicalResult as struct rather than class

Windows builds are broken by a class/struct mismatch between a
forward-declaration of LogicalResult and its definition.

PiperOrigin-RevId: 258320420
This commit is contained in:
Alex Zinenko 2019-07-16 01:27:08 -07:00 committed by Mehdi Amini
parent 2087bf6386
commit dec1942cdf
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ namespace mlir {
class DialectConversion;
class FuncOp;
class LLVMTypeConverter;
class LogicalResult;
struct LogicalResult;
class MLIRContext;
class ModuleOp;
class ModulePassBase;