diff options
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.h')
-rw-r--r-- | llvm/utils/TableGen/CodeGenInstruction.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.h b/llvm/utils/TableGen/CodeGenInstruction.h index af851a11676b..e35d2191ea45 100644 --- a/llvm/utils/TableGen/CodeGenInstruction.h +++ b/llvm/utils/TableGen/CodeGenInstruction.h @@ -182,7 +182,7 @@ template <typename T> class ArrayRef; /// where $foo is a whole operand and $foo.bar refers to a suboperand. /// This aborts if the name is invalid. If AllowWholeOp is true, references /// to operands with suboperands are allowed, otherwise not. - std::pair<unsigned,unsigned> ParseOperandName(const std::string &Op, + std::pair<unsigned,unsigned> ParseOperandName(StringRef Op, bool AllowWholeOp = true); /// getFlattenedOperandNumber - Flatten a operand/suboperand pair into a @@ -211,7 +211,7 @@ template <typename T> class ArrayRef; return false; } - void ProcessDisableEncoding(std::string Value); + void ProcessDisableEncoding(StringRef Value); }; |