Add a utility method.

llvm-svn: 99495
This commit is contained in:
Zhongxing Xu 2010-03-25 06:33:37 +00:00
parent 552dddc51c
commit 169b5b189e
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ public:
QualType t)
: SymExpr(SymSymKind), LHS(lhs), Op(op), RHS(rhs), T(t) {}
BinaryOperator::Opcode getOpcode() const { return Op; }
const SymExpr *getLHS() const { return LHS; }
const SymExpr *getRHS() const { return RHS; }