[cfe-commits] r45148 - /cfe/trunk/Sema/SemaExpr.cpp
Chris Lattner
clattner at apple.com
Mon Dec 17 21:54:23 PST 2007
On Dec 17, 2007, at 8:06 PM, Steve Naroff wrote:
> Author: snaroff
> Date: Mon Dec 17 22:06:57 2007
> New Revision: 45148
>
> URL: http://llvm.org/viewvc/llvm-project?rev=45148&view=rev
> Log:
>
> Add DefaultFunctionArrayConversion() to the indirection operator in
> Sema::ActOnUnaryOp().
Thanks Steve! Out of curiousity, why not do this in
CheckIndirectionOperand?
-Chris
>
> Modified:
> cfe/trunk/Sema/SemaExpr.cpp
>
> Modified: cfe/trunk/Sema/SemaExpr.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/SemaExpr.cpp?rev=45148&r1=45147&r2=45148&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/Sema/SemaExpr.cpp (original)
> +++ cfe/trunk/Sema/SemaExpr.cpp Mon Dec 17 22:06:57 2007
> @@ -1824,6 +1824,7 @@
> resultType = CheckAddressOfOperand(Input, OpLoc);
> break;
> case UnaryOperator::Deref:
> + DefaultFunctionArrayConversion(Input);
> resultType = CheckIndirectionOperand(Input, OpLoc);
> break;
> case UnaryOperator::Plus:
>
>
> _______________________________________________
> 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