diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-08-01 22:17:28 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-08-01 22:17:28 +0000 |
commit | 570706dd7cb27bc3fcd05221a5168a6d85199410 (patch) | |
tree | 36c22fdb0bb83365d3c819e5507a24778c899efa /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 49a53507d01ec2c360588a4d11dc78dab60030ef (diff) | |
download | bcm5719-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.cpp | 2 |
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); |