r214579 - Actually fix problem with modules buildbot this time.
Richard Smith
richard-llvm at metafoo.co.uk
Fri Aug 1 15:17:28 PDT 2014
Author: rsmith
Date: Fri Aug 1 17:17:28 2014
New Revision: 214579
URL: http://llvm.org/viewvc/llvm-project?rev=214579&view=rev
Log:
Actually fix problem with modules buildbot this time.
Modified:
cfe/trunk/lib/CodeGen/CodeGenModule.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=214579&r1=214578&r2=214579&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Fri Aug 1 17:17:28 2014
@@ -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);
More information about the cfe-commits
mailing list