Fixed IntOperandMatcher::emitCxxPredicateExpr arguments

Extra const in the StringRef argument meant that MSVC complained about it not correctly overriding from OperandPredicateMatcher::emitCxxPredicateExpr (which didn't have the const)

llvm-svn: 296138
This commit is contained in:
Simon Pilgrim 2017-02-24 17:20:27 +00:00
parent 832b1622d8
commit d030291d6d
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ public:
}
void emitCxxPredicateExpr(raw_ostream &OS,
const StringRef OperandExpr) const override {
StringRef OperandExpr) const override {
OS << "isOperandImmEqual(" << OperandExpr << ", " << Value << ", MRI)";
}
};