diff options
author | Daniel Paoliello <danpao@microsoft.com> | 2025-08-10 11:19:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-10 11:19:12 -0700 |
commit | 59f31d4e8df8cc35c816c05f2c653ca29e9a276e (patch) | |
tree | 63cf6dc9cd821aee75deab19055504f72f09fd70 /llvm/lib/ExecutionEngine | |
parent | 2b4b721faf852a405b25064c0d3b59a2372efe2b (diff) | |
download | llvm-59f31d4e8df8cc35c816c05f2c653ca29e9a276e.zip llvm-59f31d4e8df8cc35c816c05f2c653ca29e9a276e.tar.gz llvm-59f31d4e8df8cc35c816c05f2c653ca29e9a276e.tar.bz2 |
Fix MSVC warning in CompilerInvocation.cpp (#152809)
Building Clang using MSVC was resulting in the following warning:
```
tuple(791): warning C4018: '<': signed/unsigned mismatch
```
I traced this to CompilerInvocation.cpp where it was creating a
`std::tuple` to compare version numbers.
This change adds an explicit type for the `tuple` created from the
version macros to match the type of the variables, and uses the `tuple`
constructor instead of `tie` since the integers are smaller than a
reference to the integers.
Diffstat (limited to 'llvm/lib/ExecutionEngine')
0 files changed, 0 insertions, 0 deletions