[cfe-commits] r143872 - /cfe/trunk/lib/Sema/SemaPseudoObject.cpp

Benjamin Kramer benny.kra at googlemail.com
Sun Nov 6 01:50:14 PST 2011


Author: d0k
Date: Sun Nov  6 03:50:13 2011
New Revision: 143872

URL: http://llvm.org/viewvc/llvm-project?rev=143872&view=rev
Log:
Unbreak gcc build.

For some reason clang and msvc accept this, but gcc doesn't.

Modified:
    cfe/trunk/lib/Sema/SemaPseudoObject.cpp

Modified: cfe/trunk/lib/Sema/SemaPseudoObject.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaPseudoObject.cpp?rev=143872&r1=143871&r2=143872&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaPseudoObject.cpp (original)
+++ cfe/trunk/lib/Sema/SemaPseudoObject.cpp Sun Nov  6 03:50:13 2011
@@ -106,7 +106,7 @@
   struct ObjCPropertyRefRebuilder : Rebuilder<ObjCPropertyRefRebuilder> {
     Expr *NewBase;
     ObjCPropertyRefRebuilder(Sema &S, Expr *newBase)
-      : Rebuilder(S), NewBase(newBase) {}
+      : Rebuilder<ObjCPropertyRefRebuilder>(S), NewBase(newBase) {}
 
     typedef ObjCPropertyRefExpr specific_type;
     Expr *rebuildSpecific(ObjCPropertyRefExpr *refExpr) {





More information about the cfe-commits mailing list