From 82657cf01a78c5a11e4688a89c49cd10ba665bfc Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Sat, 20 Feb 2016 02:11:49 +0000 Subject: [PATCH] fixing msvc warning. llvm-svn: 261396 --- llvm/tools/sancov/sancov.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/tools/sancov/sancov.cc b/llvm/tools/sancov/sancov.cc index 82c5916..42bdfd4 100644 --- a/llvm/tools/sancov/sancov.cc +++ b/llvm/tools/sancov/sancov.cc @@ -721,7 +721,8 @@ public: if (!ProcessedFunctions.insert(FunctionName).second) continue; - Result[FileLoc{FileName, Loc.Loc.Line}].insert(FunctionName); + auto FLoc = FileLoc{FileName, Loc.Loc.Line}; + Result[FLoc].insert(FunctionName); } return Result; } -- 2.7.4