[llvm] r261396 - fixing msvc warning.
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 19 18:11:50 PST 2016
Author: aizatsky
Date: Fri Feb 19 20:11:49 2016
New Revision: 261396
URL: http://llvm.org/viewvc/llvm-project?rev=261396&view=rev
Log:
fixing msvc warning.
Modified:
llvm/trunk/tools/sancov/sancov.cc
Modified: llvm/trunk/tools/sancov/sancov.cc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/sancov/sancov.cc?rev=261396&r1=261395&r2=261396&view=diff
==============================================================================
--- llvm/trunk/tools/sancov/sancov.cc (original)
+++ llvm/trunk/tools/sancov/sancov.cc Fri Feb 19 20:11:49 2016
@@ -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;
}
More information about the llvm-commits
mailing list