forked from OSchip/llvm-project
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:
parent
832b1622d8
commit
d030291d6d
|
@ -233,7 +233,7 @@ public:
|
|||
}
|
||||
|
||||
void emitCxxPredicateExpr(raw_ostream &OS,
|
||||
const StringRef OperandExpr) const override {
|
||||
StringRef OperandExpr) const override {
|
||||
OS << "isOperandImmEqual(" << OperandExpr << ", " << Value << ", MRI)";
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue