mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
ac5e69bcee
Rework getLongestCommonPrefixLen() so that it doesn't access string null terminators. The old version with std::mismatch would do this: | v Strings[0] = ['a', nil] Strings[1] = ['a', 'a', nil] ^ | This should silence a warning from the MSVC runtime (PR30515). As before, I tested this out by preparing a coverage report for FileCheck. Thanks to Yaron Keren for the report! llvm-svn: 282422 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CodeCoverage.cpp | ||
CoverageExporterJson.cpp | ||
CoverageFilters.cpp | ||
CoverageFilters.h | ||
CoverageReport.cpp | ||
CoverageReport.h | ||
CoverageSummaryInfo.cpp | ||
CoverageSummaryInfo.h | ||
CoverageViewOptions.h | ||
gcov.cpp | ||
llvm-cov.cpp | ||
LLVMBuild.txt | ||
RenderingSupport.h | ||
SourceCoverageView.cpp | ||
SourceCoverageView.h | ||
SourceCoverageViewHTML.cpp | ||
SourceCoverageViewHTML.h | ||
SourceCoverageViewText.cpp | ||
SourceCoverageViewText.h | ||
TestingSupport.cpp |