diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-12 08:58:26 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-12 08:58:26 +0000 |
commit | a98742c32c159a8c76f842947c02a79c530a1d4b (patch) | |
tree | 16938292647624cd2f1253352a421e9fcdbee255 /lib/CodeGen/CGDecl.cpp | |
parent | 701d1e77aca7e86348386fdeadcd56ca650f95ad (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions