Remove `const` from `const T &&` in debugString() helper to make it a universal reference (NFC)

It broke lvalue arguments otherwise:
This commit is contained in:
Mehdi Amini 2021-08-28 01:09:00 +00:00
parent 4387975170
commit 022538f276
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ namespace mlir {
// Simple helper function that returns a string as printed from a op.
template <typename T>
static std::string debugString(const T &&op) {
static std::string debugString(T &&op) {
std::string instr_str;
llvm::raw_string_ostream os(instr_str);
op.print(os);