[cfe-commits] r134977 - /cfe/trunk/lib/CodeGen/CGExpr.cpp
Chris Lattner
clattner at apple.com
Tue Jul 12 08:54:15 PDT 2011
On Jul 12, 2011, at 1:58 AM, Chandler Carruth wrote:
> Author: chandlerc
> Date: Tue Jul 12 03:58:26 2011
> New Revision: 134977
>
> URL: http://llvm.org/viewvc/llvm-project?rev=134977&view=rev
> Log:
> Work around a problem with a static helper's formulation in release
> builds introduced in r134972:
>
> lib/CodeGen/CGExpr.cpp:1294:7: error: no matching function for call to 'EmitBitCastOfLValueToProperType'
> lib/CodeGen/CGExpr.cpp:1278:1: note: candidate function not viable: no known conversion from 'CGBuilderTy' (aka 'IRBuilder<false>') to 'llvm::IRBuilder<> &' for 1st argument
>
> This fixes the issue by passing CodeGenFunction on down, and using its
> builder directly rather than passing just the builder down.
>
> This may not be the best / cleanest fix, Chris please review. It at
> least fixes builds.
LGTM, thanks for the fix!
-Chris
More information about the cfe-commits
mailing list