From a590533767b9b5a0161454c392ef9a8b77fcf01e Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 3 Aug 2015 20:55:00 +0000 Subject: [PATCH] Fix with a bit more care. (but only a bit) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243903 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/LLParser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index d1d379242e0..f098babb9f4 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -2609,8 +2609,9 @@ bool LLParser::ParseValID(ValID &ID, PerFunctionState *PFS) { if (!F) { // Make a global variable as a placeholder for this reference. GlobalValue *&FwdRef = - ForwardRefBlockAddresses.insert(std::make_pair, std::move(Fn), - std::map()) + ForwardRefBlockAddresses.insert(std::make_pair( + std::move(Fn), + std::map())) .first->second.insert(std::make_pair(std::move(Label), nullptr)) .first->second; if (!FwdRef) -- 2.34.1