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

Chris Lattner sabre at nondot.org
Fri Oct 12 16:18:19 PDT 2007


Author: lattner
Date: Fri Oct 12 18:18:19 2007
New Revision: 42937

URL: http://llvm.org/viewvc/llvm-project?rev=42937&view=rev
Log:
remove dead method with bogus comment.

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=42937&r1=42936&r2=42937&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Fri Oct 12 18:18:19 2007
@@ -383,11 +383,6 @@
   bool isSizeOfAlignOfOp() const { return Opc == SizeOf || Opc == AlignOf; }
   static bool isArithmeticOp(Opcode Op) { return Op >= Plus && Op <= LNot; }
   
-  /// getDecl - a recursive routine that derives the base decl for an
-  /// expression. For example, it will return the declaration for "s" from
-  /// the following complex expression "s.zz[2].bb.vv".
-  static bool isAddressable(Expr *e);
-  
   /// getOpcodeStr - Turn an Opcode enum value into the punctuation char it
   /// corresponds to, e.g. "sizeof" or "[pre]++"
   static const char *getOpcodeStr(Opcode Op);





More information about the cfe-commits mailing list