r259309 - Convert an unsigned to Twine instead of using utostr since we're already building a Twine. NFC
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 30 16:20:24 PST 2016
Author: ctopper
Date: Sat Jan 30 18:20:24 2016
New Revision: 259309
URL: http://llvm.org/viewvc/llvm-project?rev=259309&view=rev
Log:
Convert an unsigned to Twine instead of using utostr since we're already building a Twine. NFC
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/IssueHash.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Core/IssueHash.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/IssueHash.cpp?rev=259309&r1=259308&r2=259309&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/IssueHash.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/IssueHash.cpp Sat Jan 30 18:20:24 2016
@@ -180,7 +180,7 @@ std::string clang::GetIssueString(const
return (llvm::Twine(CheckerName) + Delimiter +
GetEnclosingDeclContextSignature(D) + Delimiter +
- llvm::utostr(IssueLoc.getExpansionColumnNumber()) + Delimiter +
+ Twine(IssueLoc.getExpansionColumnNumber()) + Delimiter +
NormalizeLine(SM, IssueLoc, LangOpts) + Delimiter + BugType)
.str();
}
More information about the cfe-commits
mailing list