Add non-static version of BinaryOperator::getOpcodeStr().
llvm-svn: 109526
This commit is contained in:
parent
7383cf06ba
commit
162ab86d22
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue