[cfe-commits] r57745 - /cfe/trunk/lib/CodeGen/CGExpr.cpp

Daniel Dunbar daniel at zuster.org
Fri Oct 17 16:05:03 PDT 2008


Author: ddunbar
Date: Fri Oct 17 18:05:02 2008
New Revision: 57745

URL: http://llvm.org/viewvc/llvm-project?rev=57745&view=rev
Log:
Emit more descriptive unsupported error message on dot-syntax use of super.

Modified:
    cfe/trunk/lib/CodeGen/CGExpr.cpp

Modified: cfe/trunk/lib/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExpr.cpp?rev=57745&r1=57744&r2=57745&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExpr.cpp Fri Oct 17 18:05:02 2008
@@ -571,6 +571,8 @@
   case PredefinedExpr::Function:
   case PredefinedExpr::PrettyFunction:
     return EmitPredefinedFunctionName(E->getIdentType());
+  case PredefinedExpr::ObjCSuper:
+    return EmitUnsupportedLValue(E, "use of super");
   }
 }
 





More information about the cfe-commits mailing list