Minimal changes for LLVM to compile under VS11.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer
2012-03-01 22:42:52 +00:00
parent b2930b92d3
commit 647c0ce48c
3 changed files with 9 additions and 1 deletions

View File

@ -530,7 +530,7 @@ unsigned DwarfDebug::GetOrCreateSourceID(StringRef FileName,
std::map<std::pair<std::string, std::string>, unsigned>::iterator I;
bool NewlyInserted;
tie(I, NewlyInserted) = SourceIdMap.insert(Entry);
llvm::tie(I, NewlyInserted) = SourceIdMap.insert(Entry);
if (!NewlyInserted)
return I->second;