Actually fix problem with modules buildbot this time.

llvm-svn: 214579
This commit is contained in:
Richard Smith 2014-08-01 22:17:28 +00:00
parent 49a53507d0
commit 570706dd7c
1 changed files with 1 additions and 1 deletions

View File

@ -3247,7 +3247,7 @@ void CodeGenModule::EmitTargetMetadata() {
// loop over those declarations for which we couldn't emit the target // loop over those declarations for which we couldn't emit the target
// metadata when we emitted the declaration. // metadata when we emitted the declaration.
for (unsigned I = 0; I != MangledDeclNames.size(); ++I) { 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(); const Decl *D = Val.first.getDecl()->getMostRecentDecl();
llvm::GlobalValue *GV = GetGlobalValue(Val.second); llvm::GlobalValue *GV = GetGlobalValue(Val.second);
getTargetCodeGenInfo().emitTargetMD(D, GV, *this); getTargetCodeGenInfo().emitTargetMD(D, GV, *this);