A warning is sent because std::distance() returns a signed type so CmpHelperEQ() gets instantiated into a function that compares differently signed arguments.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D72632
[unittests] Fix "comparison of integers of different signs" warnings ClosedPublic Authored by mstojanovic on Jan 13 2020, 10:26 AM.
Details Summary A warning is sent because std::distance() returns a signed type so CmpHelperEQ() gets instantiated into a function that compares differently signed arguments.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 14 2020, 12:44 AM Closed by commit rGbff33bd5c83b: [unittests] Fix "comparison of integers of different signs" warnings (authored by mstojanovic). · Explain WhyJan 14 2020, 4:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 237936 llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp
llvm/unittests/Object/MinidumpTest.cpp
|