[cfe-commits] r72407 - in /cfe/trunk/include/clang/AST: Expr.h ExprObjC.h StmtObjC.h
Anders Carlsson
andersca at mac.com
Mon May 25 18:04:48 PDT 2009
Author: andersca
Date: Mon May 25 20:04:47 2009
New Revision: 72407
URL: http://llvm.org/viewvc/llvm-project?rev=72407&view=rev
Log:
Remove a bunch of unused constructors
Modified:
cfe/trunk/include/clang/AST/Expr.h
cfe/trunk/include/clang/AST/ExprObjC.h
cfe/trunk/include/clang/AST/StmtObjC.h
Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=72407&r1=72406&r2=72407&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Mon May 25 20:04:47 2009
@@ -945,12 +945,6 @@
unsigned NumArgs;
SourceLocation RParenLoc;
- // This version of the ctor is for deserialization.
- CallExpr(StmtClass SC, Stmt** subexprs, unsigned numargs, QualType t,
- SourceLocation rparenloc)
- : Expr(SC,t), SubExprs(subexprs),
- NumArgs(numargs), RParenLoc(rparenloc) {}
-
protected:
// This version of the constructor is for derived classes.
CallExpr(ASTContext& C, StmtClass SC, Expr *fn, Expr **args, unsigned numargs,
Modified: cfe/trunk/include/clang/AST/ExprObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ExprObjC.h?rev=72407&r1=72406&r2=72407&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ExprObjC.h (original)
+++ cfe/trunk/include/clang/AST/ExprObjC.h Mon May 25 20:04:47 2009
@@ -344,14 +344,6 @@
enum { IsInstMeth=0, IsClsMethDeclUnknown, IsClsMethDeclKnown, Flags=0x3 };
unsigned getFlag() const { return (uintptr_t) SubExprs[RECEIVER] & Flags; }
- // constructor used during deserialization
- ObjCMessageExpr(Selector selInfo, QualType retType,
- SourceLocation LBrac, SourceLocation RBrac,
- Stmt **subexprs, unsigned nargs)
- : Expr(ObjCMessageExprClass, retType), SubExprs(subexprs),
- NumArgs(nargs), SelName(selInfo), MethodProto(NULL),
- LBracloc(LBrac), RBracloc(RBrac) {}
-
public:
/// This constructor is used to represent class messages where the
/// ObjCInterfaceDecl* of the receiver is not known.
Modified: cfe/trunk/include/clang/AST/StmtObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/StmtObjC.h?rev=72407&r1=72406&r2=72407&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/StmtObjC.h (original)
+++ cfe/trunk/include/clang/AST/StmtObjC.h Mon May 25 20:04:47 2009
@@ -76,10 +76,6 @@
Stmt *SubExprs[END_EXPR];
SourceLocation AtCatchLoc, RParenLoc;
- // Used by deserialization.
- ObjCAtCatchStmt(SourceLocation atCatchLoc, SourceLocation rparenloc)
- : Stmt(ObjCAtCatchStmtClass), AtCatchLoc(atCatchLoc), RParenLoc(rparenloc) {}
-
public:
ObjCAtCatchStmt(SourceLocation atCatchLoc, SourceLocation rparenloc,
ParmVarDecl *catchVarDecl,
More information about the cfe-commits
mailing list