From: Zhongxing Xu Date: Thu, 25 Mar 2010 06:33:37 +0000 (+0000) Subject: Add a utility method. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef0df6a1c2a626f69dc11519cf88a50ca321065d;p=clang Add a utility method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99495 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Checker/PathSensitive/SymbolManager.h b/include/clang/Checker/PathSensitive/SymbolManager.h index b6630c3d97..70e9ce6ba2 100644 --- a/include/clang/Checker/PathSensitive/SymbolManager.h +++ b/include/clang/Checker/PathSensitive/SymbolManager.h @@ -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; }