[cfe-commits] r45262 - /cfe/trunk/include/clang/AST/Expr.h

Chris Lattner sabre at nondot.org
Thu Dec 20 11:14:21 PST 2007


Author: lattner
Date: Thu Dec 20 13:14:21 2007
New Revision: 45262

URL: http://llvm.org/viewvc/llvm-project?rev=45262&view=rev
Log:
add accessor.

Modified:
    cfe/trunk/include/clang/AST/Expr.h

Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=45262&r1=45261&r2=45262&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Thu Dec 20 13:14:21 2007
@@ -565,6 +565,7 @@
   
   const Expr *getCallee() const { return SubExprs[FN]; }
   Expr *getCallee() { return SubExprs[FN]; }
+  void setCallee(Expr *F) { SubExprs[FN] = F; }
   
   /// getNumArgs - Return the number of actual arguments to this call.
   ///





More information about the cfe-commits mailing list