[cfe-commits] [PATCH] Fix a cut&paste typo relating to RebuildCXXUuidofExpr
Douglas Gregor
dgregor at apple.com
Sun Mar 6 09:45:22 PST 2011
Thanks, committed as r127123.
- Doug
On Mar 2, 2011, at 8:04 PM, John Wiegley wrote:
> This patch authored by Eric Niebler <eric at boostpro.com>.
>
> This simple change fixes what appears to have been a cut&paste type error,
> where a call to method RebuildCXXTypeidExpr should have been
> RebuildCXXUuidofExpr.
>
> John
>
> Author: Eric Niebler <eric at boostpro.com>
> Date: Wed Mar 2 16:52:54 2011 -0500
>
> Fix a cut&paste typo relating to RebuildCXXUuidofExpr.
>
> diff --git a/lib/Sema/TreeTransform.h b/lib/Sema/TreeTransform.h
> index e11ad3b..aa19645 100644
> --- a/lib/Sema/TreeTransform.h
> +++ b/lib/Sema/TreeTransform.h
> @@ -6450,7 +6450,7 @@ TreeTransform<Derived>::TransformCXXUuidofExpr(CXXUuidofExpr *E) {
> TInfo == E->getTypeOperandSourceInfo())
> return SemaRef.Owned(E);
>
> - return getDerived().RebuildCXXTypeidExpr(E->getType(),
> + return getDerived().RebuildCXXUuidofExpr(E->getType(),
> E->getLocStart(),
> TInfo,
> E->getLocEnd());
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list