diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-03-25 06:33:37 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-03-25 06:33:37 +0000 |
commit | ef0df6a1c2a626f69dc11519cf88a50ca321065d (patch) | |
tree | da20b4957cc00bc048fd8c78b6c4fc834a9f1c63 | |
parent | e131c574c7baa28eb0759181478d710a2aa60cb6 (diff) |
Add a utility method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99495 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Checker/PathSensitive/SymbolManager.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |