aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageView.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-08-15 13:07:14 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-08-15 13:07:14 +0000
commited804dad1e6849c5760dee451c5ce6459632d552 (patch)
tree2024930c179f56e3832c73515476144c1823083d /llvm/tools/llvm-cov/SourceCoverageView.cpp
parent2a903c0b679bae1919f9fc01f78e4bc6cff2add0 (diff)
downloadllvm-ed804dad1e6849c5760dee451c5ce6459632d552.zip
llvm-ed804dad1e6849c5760dee451c5ce6459632d552.tar.gz
llvm-ed804dad1e6849c5760dee451c5ce6459632d552.tar.bz2
[DAGCombine] MergeConsecutiveStores - fix cppcheck/MSVC extension warning. NFCI.
Set the StartIdx type to size_t so that it matches the StoreNodes SmallVector size() and index types. Silences the MSVC analyzer warning that unsigned increment might overflow before exceeding size_t on 64-bit targets - this isn't likely to happen but it means we use consistent types and reduces the warning "noise" a little. llvm-svn: 368998
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions