From 7768ea9fb3d087364bbe4dfc11dc73d5031b614e Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 1 Aug 2019 14:13:55 -0700 Subject: [PATCH] Qualify StringRef to fix Windows build failure PiperOrigin-RevId: 261195069 --- mlir/lib/TableGen/Constraint.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mlir/lib/TableGen/Constraint.cpp b/mlir/lib/TableGen/Constraint.cpp index 1fb2ae4..ef3fa52 100644 --- a/mlir/lib/TableGen/Constraint.cpp +++ b/mlir/lib/TableGen/Constraint.cpp @@ -63,6 +63,7 @@ llvm::StringRef Constraint::getDescription() const { return doc; } -AppliedConstraint::AppliedConstraint(Constraint &&constraint, StringRef self, +AppliedConstraint::AppliedConstraint(Constraint &&constraint, + llvm::StringRef self, std::vector &&entities) : constraint(constraint), self(self), entities(std::move(entities)) {} -- 2.7.4