summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-12 08:58:26 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-12 08:58:26 +0000
commit4678f671393c164ac41c45c981ddb1cf2cedbd84 (patch)
tree0eb40283a829b16c6ba8e7bed0a40f9c5947d126 /clang/lib/CodeGen/CodeGenModule.cpp
parent38198ded24b7e1bb2ce736fde5ac367d4429ad14 (diff)
downloadbcm5719-llvm-4678f671393c164ac41c45c981ddb1cf2cedbd84.tar.gz
bcm5719-llvm-4678f671393c164ac41c45c981ddb1cf2cedbd84.zip
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. llvm-svn: 134977
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud