summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-08-01 22:17:28 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-08-01 22:17:28 +0000
commit570706dd7cb27bc3fcd05221a5168a6d85199410 (patch)
tree36c22fdb0bb83365d3c819e5507a24778c899efa /clang/lib/CodeGen/CodeGenModule.cpp
parent49a53507d01ec2c360588a4d11dc78dab60030ef (diff)
downloadbcm5719-llvm-570706dd7cb27bc3fcd05221a5168a6d85199410.tar.gz
bcm5719-llvm-570706dd7cb27bc3fcd05221a5168a6d85199410.zip
Actually fix problem with modules buildbot this time.
llvm-svn: 214579
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 33325b24e5a..08063352f21 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -3247,7 +3247,7 @@ void CodeGenModule::EmitTargetMetadata() {
// loop over those declarations for which we couldn't emit the target
// metadata when we emitted the declaration.
for (unsigned I = 0; I != MangledDeclNames.size(); ++I) {
- auto &Val = *(MangledDeclNames.begin() + I);
+ auto Val = *(MangledDeclNames.begin() + I);
const Decl *D = Val.first.getDecl()->getMostRecentDecl();
llvm::GlobalValue *GV = GetGlobalValue(Val.second);
getTargetCodeGenInfo().emitTargetMD(D, GV, *this);
OpenPOWER on IntegriCloud