forked from OSchip/llvm-project
Forward-declare LogicalResult as struct
LogicalResult is a struct but some headers forward-declare it as a class, which breaks Windows builds. Forward-delcare as a struct instead. PiperOrigin-RevId: 256565699
This commit is contained in:
parent
6f7f2bced8
commit
abc722a582
|
@ -19,7 +19,7 @@
|
||||||
#define MLIR_ANALYSIS_VERIFIER_H
|
#define MLIR_ANALYSIS_VERIFIER_H
|
||||||
|
|
||||||
namespace mlir {
|
namespace mlir {
|
||||||
class LogicalResult;
|
struct LogicalResult;
|
||||||
class Operation;
|
class Operation;
|
||||||
|
|
||||||
/// Perform (potentially expensive) checks of invariants, used to detect
|
/// Perform (potentially expensive) checks of invariants, used to detect
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include "mlir/Support/LLVM.h"
|
#include "mlir/Support/LLVM.h"
|
||||||
|
|
||||||
namespace mlir {
|
namespace mlir {
|
||||||
class LogicalResult;
|
struct LogicalResult;
|
||||||
class MLIRContext;
|
class MLIRContext;
|
||||||
|
|
||||||
namespace spirv {
|
namespace spirv {
|
||||||
|
|
Loading…
Reference in New Issue