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");
   }
 }
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to