aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2025-10-03 15:58:11 +0100
committerGitHub <noreply@github.com>2025-10-03 15:58:11 +0100
commit78739ff84a5986623684235e1f29e55b754a1594 (patch)
tree78855f7c014aa9e696fb65a3e68451462dea353c /llvm/lib/Support/VirtualFileSystem.cpp
parentf4a39a838ad4b21825be0f54f1f2bf0aad7700e1 (diff)
downloadllvm-78739ff84a5986623684235e1f29e55b754a1594.zip
llvm-78739ff84a5986623684235e1f29e55b754a1594.tar.gz
llvm-78739ff84a5986623684235e1f29e55b754a1594.tar.bz2
[llvm][HashRecognize] Fix compiler warning on Arm 32-bit (#161821)
``` /home/david.spickett/llvm-project/llvm/lib/Analysis/HashRecognize.cpp:100:54: warning: comparison of integers of different signs: 'typename iterator_traits<ilist_iterator_w_bits<node_options<Instruction, true, false, void, true, BasicBlock>, false, false>>::difference_type' (aka 'int') and 'size_type' (aka 'unsigned int') [-Wsign-compare] 100 | return std::distance(Latch->begin(), Latch->end()) != Visited.size(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ ``` By using Latch->size() instead.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions