From: Daniel Dunbar Date: Fri, 17 Oct 2008 23:05:02 +0000 (+0000) Subject: Emit more descriptive unsupported error message on dot-syntax use of super. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=961b03c95dfbfb055143a25e714144976f74d2a1;p=clang Emit more descriptive unsupported error message on dot-syntax use of super. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57745 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 34d025d289..fa70f47da9 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -571,6 +571,8 @@ LValue CodeGenFunction::EmitPredefinedLValue(const PredefinedExpr *E) { case PredefinedExpr::Function: case PredefinedExpr::PrettyFunction: return EmitPredefinedFunctionName(E->getIdentType()); + case PredefinedExpr::ObjCSuper: + return EmitUnsupportedLValue(E, "use of super"); } }