[cfe-commits] r99495 - /cfe/trunk/include/clang/Checker/PathSensitive/SymbolManager.h

Zhongxing Xu xuzhongxing at gmail.com
Wed Mar 24 23:33:37 PDT 2010


Author: zhongxingxu
Date: Thu Mar 25 01:33:37 2010
New Revision: 99495

URL: http://llvm.org/viewvc/llvm-project?rev=99495&view=rev
Log:
Add a utility method.

Modified:
    cfe/trunk/include/clang/Checker/PathSensitive/SymbolManager.h

Modified: cfe/trunk/include/clang/Checker/PathSensitive/SymbolManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Checker/PathSensitive/SymbolManager.h?rev=99495&r1=99494&r2=99495&view=diff
==============================================================================
--- cfe/trunk/include/clang/Checker/PathSensitive/SymbolManager.h (original)
+++ cfe/trunk/include/clang/Checker/PathSensitive/SymbolManager.h Thu Mar 25 01:33:37 2010
@@ -247,6 +247,7 @@
              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; }
 





More information about the cfe-commits mailing list