Add non-static version of BinaryOperator::getOpcodeStr().

llvm-svn: 109526
This commit is contained in:
Ted Kremenek 2010-07-27 18:49:04 +00:00
parent 7383cf06ba
commit 162ab86d22
1 changed files with 2 additions and 0 deletions

View File

@ -2244,6 +2244,8 @@ public:
/// corresponds to, e.g. "<<=".
static const char *getOpcodeStr(Opcode Op);
const char *getOpcodeStr() const { return getOpcodeStr(Opc); }
/// \brief Retrieve the binary opcode that corresponds to the given
/// overloaded operator.
static Opcode getOverloadedOpcode(OverloadedOperatorKind OO);