[cfe-dev] [PATCH]: Sema support for C++ classes

Eli Friedman eli.friedman at gmail.com
Sat Jun 28 11:51:32 PDT 2008

On Sat, Jun 28, 2008 at 1:22 AM, Argiris Kirtzidis <akyrtzi at gmail.com> wrote:
> I attached a new patch for Sema support, with the suggestions.

+      // FIXME: Use DeclRefExpr or a new Expr for a direct CXXField reference.
+      ExprResult ThisExpr = ActOnCXXThis(Loc);

Make this line "ExprResult ThisExpr =
ActOnCXXThis(SourceLocation());".  (This isn't really the right fix,
but it's a bit better than what's there.)

Otherwise, I think looks fine.


More information about the cfe-dev mailing list