| 1 | diff -u -r ../llvm-4.0.0.src/tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp ./tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp |
| 2 | --- ../llvm-4.0.0.src/tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp 2016-11-30 18:57:18.000000000 +0100 |
| 3 | +++ ./tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp 2017-03-14 18:11:26.984865292 +0100 |
| 4 | @@ -12,6 +12,7 @@ |
| 5 | #include "clang/StaticAnalyzer/Core/Checker.h" |
| 6 | #include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h" |
| 7 | #include "clang/StaticAnalyzer/Checkers/SValExplainer.h" |
| 8 | +#include "llvm/ADT/StringExtras.h" |
| 9 | #include "llvm/ADT/StringSwitch.h" |
| 10 | |
| 11 | using namespace clang; |
| 12 | @@ -269,7 +270,7 @@ |
| 13 | unsigned NumTimesReached = Item.second.NumTimesReached; |
| 14 | ExplodedNode *N = Item.second.ExampleNode; |
| 15 | |
| 16 | - reportBug(std::to_string(NumTimesReached), BR, N); |
| 17 | + reportBug(llvm::utostr(NumTimesReached), BR, N); |
| 18 | } |
| 19 | } |
| 20 | |