[all-commits] [llvm/llvm-project] ee15e2: [clang] Silence warning when building with MSVC ta...
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Thu Jan 25 06:34:35 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee15e2bd32a4677c40d927c732b26d33f88d7865
https://github.com/llvm/llvm-project/commit/ee15e2bd32a4677c40d927c732b26d33f88d7865
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M clang/lib/AST/AttrDocTable.cpp
Log Message:
-----------
[clang] Silence warning when building with MSVC targetting x86
This fixes:
```
[3786/6996] Building CXX object tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\AttrDocTable.cpp.obj
C:\git\llvm-project\clang\lib\AST\AttrDocTable.cpp(24): warning C4018: '<': signed/unsigned mismatch
```
Commit: 419d6ea135dd205e1eaab368a58ae14f9f52f699
https://github.com/llvm/llvm-project/commit/419d6ea135dd205e1eaab368a58ae14f9f52f699
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
Log Message:
-----------
[clang] Silence warning when compiling with MSVC targetting x86
This fixes:
```
[3963/6996] Building CXX object tools\clang\lib\CodeGen\CMakeFiles\obj.clangCodeGen.dir\CGExpr.cpp.obj
C:\git\llvm-project\clang\lib\CodeGen\CGExpr.cpp(3808): warning C4018: '<=': signed/unsigned mismatch
```
Commit: f33f5a04e9feeb9b473694825d84da8322f87df9
https://github.com/llvm/llvm-project/commit/f33f5a04e9feeb9b473694825d84da8322f87df9
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M clang-tools-extra/clangd/InlayHints.cpp
Log Message:
-----------
[clangd] Silence warning when compiling with MSVC targetting x86
This fixes:
```
[5240/6995] Building CXX object tools\clang\tools\extra\clangd\CMakeFiles\obj.clangDaemon.dir\InlayHints.cpp.obj
C:\git\llvm-project\clang-tools-extra\clangd\InlayHints.cpp(1098): warning C4018: '<': signed/unsigned mismatch
```
Commit: 3fec25c55f1890c138e64548dc074b4593e0a26c
https://github.com/llvm/llvm-project/commit/3fec25c55f1890c138e64548dc074b4593e0a26c
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M lld/COFF/PDB.cpp
Log Message:
-----------
[LLD] Silence warning when compiling with MSVC targetting x86
This fixes:
```
[5383/6995] Building CXX object tools\lld\COFF\CMakeFiles\lldCOFF.dir\PDB.cpp.obj
C:\git\llvm-project\lld\COFF\PDB.cpp(835): warning C4018: '>=': signed/unsigned mismatch
```
Commit: 452a2c6e3575d56a34c34472b9f829cb17e2b564
https://github.com/llvm/llvm-project/commit/452a2c6e3575d56a34c34472b9f829cb17e2b564
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h
Log Message:
-----------
[llvm] Silence warning when compiling with MSVC targetting x86
This fixes:
```
[1614/6998] Building CXX object lib\ExecutionEngine\Orc\CMakeFiles\LLVMOrcJIT.dir\MachOPlatform.cpp.obj
C:\git\llvm-project\llvm\include\llvm/ExecutionEngine/Orc/MachOBuilder.h(367): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
```
Commit: 3db3e2cea321aba58fcf1905e06a92567e892588
https://github.com/llvm/llvm-project/commit/3db3e2cea321aba58fcf1905e06a92567e892588
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M llvm/lib/Object/DXContainer.cpp
Log Message:
-----------
[llvm] Silence warning when compiling with MSVC targetting x86
This fixes:
```
[1265/6998] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\DXContainer.cpp.obj
C:\git\llvm-project\llvm\lib\Object\DXContainer.cpp(344): warning C4018: '<': signed/unsigned mismatch
```
Commit: f42f551d12466c5f17f91cb44592e8dcb4118f07
https://github.com/llvm/llvm-project/commit/f42f551d12466c5f17f91cb44592e8dcb4118f07
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M llvm/lib/ObjectYAML/COFFYAML.cpp
Log Message:
-----------
[llvm] Silence warning when compiling with MSVC targetting x86
This fixes:
```
[1304/6998] Building CXX object lib\ObjectYAML\CMakeFiles\LLVMObjectYAML.dir\COFFYAML.cpp.obj
C:\git\llvm-project\llvm\lib\ObjectYAML\COFFYAML.cpp(561): warning C4018: '<': signed/unsigned mismatch
```
Commit: 03e4070ce1f834eb426aa8f8622838c40ff5c710
https://github.com/llvm/llvm-project/commit/03e4070ce1f834eb426aa8f8622838c40ff5c710
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
Log Message:
-----------
[lldb] Silence warning when building with Clang ToT
This fixes:
```
[6331/7452] Building CXX object tools\lldb\source\Plugins\Language\CPlusPlus\CMakeFiles\lldbPluginCPlusPlusLanguage.dir\LibCxx.cpp.obj
C:\git\llvm-project\lldb\source\Plugins\Language\CPlusPlus\LibCxx.cpp(1108,38): warning: format specifies type 'long' but the argument has type 'std::time_t' (aka 'long long') [-Wformat]
1108 | stream.Printf("timestamp=%ld s", seconds);
| ~~~ ^~~~~~~
| %lld
C:\git\llvm-project\lldb\source\Plugins\Language\CPlusPlus\LibCxx.cpp(1116,63): warning: format specifies type 'long' but the argument has type 'std::time_t' (aka 'long long') [-Wformat]
1116 | stream.Printf("date/time=%s timestamp=%ld s", str.data(), seconds);
| ~~~ ^~~~~~~
| %lld
2 warnings generated.
```
Commit: 40dcf24522af91ab22af2e69f28d1f1d2a860f5c
https://github.com/llvm/llvm-project/commit/40dcf24522af91ab22af2e69f28d1f1d2a860f5c
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/tests/sanitizer_bitvector_test.cpp
Log Message:
-----------
[compiler-rt] Silence warning when building with Clang ToT
This fixes:
```
[24/47] Generating SANITIZER_TEST_OBJECTS.sanitizer_bitvector_test.cpp.i386.o
C:/git/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_bitvector_test.cpp:74:29: warning: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'value_type' (aka 'unsigned long') [-Wformat]
74 | fprintf(stderr, "%zu ", *it);
| ~~~ ^~~
| %lu
1 warning generated.
```
Commit: af263ceb90b9fe39ae1d3458c9f35b6b199d3951
https://github.com/llvm/llvm-project/commit/af263ceb90b9fe39ae1d3458c9f35b6b199d3951
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M lld/ELF/MapFile.cpp
Log Message:
-----------
[LLD][ELF] Silence warning when building with Clang ToT
This fixes:
```
[5839/7452] Building CXX object tools\lld\ELF\CMakeFiles\lldELF.dir\MapFile.cpp.obj
C:\git\llvm-project\lld\ELF\MapFile.cpp(124,38): warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'const ssize_t' (aka 'const int') [-Wsign-compare]
124 | last.outputOff + last.size == p.outputOff) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
1 warning generated.
```
Commit: 43ab40a5baba4945efa6d6050ae34817c8044ebf
https://github.com/llvm/llvm-project/commit/43ab40a5baba4945efa6d6050ae34817c8044ebf
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M llvm/lib/Object/ELFObjectFile.cpp
Log Message:
-----------
[llvm] Silence warning when building with Clang ToT
This fixes:
```
[1343/7452] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\ELFObjectFile.cpp.obj
C:\git\llvm-project\llvm\lib\Object\ELFObjectFile.cpp(808,27): warning: comparison of integers of different signs: 'unsigned int' and '_Iter_diff_t<const Elf_Shdr_Impl<ELFType<llvm::endianness::little, false>> *>' (aka 'int') [-Wsign-compare]
808 | if (*TextSectionIndex != std::distance(Sections.begin(), *TextSecOrErr))
| ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\git\llvm-project\llvm\lib\Object\ELFObjectFile.cpp(913,12): note: in instantiation of function template specialization 'readBBAddrMapImpl<llvm::object::ELFType<llvm::endianness::little, false>>' requested here
913 | return readBBAddrMapImpl(Obj->getELFFile(), TextSectionIndex, PGOAnalyses);
| ^
```
Commit: ca0e2417912d8dea49c053186402aafe1ac8995a
https://github.com/llvm/llvm-project/commit/ca0e2417912d8dea49c053186402aafe1ac8995a
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M openmp/runtime/src/kmp_os.h
Log Message:
-----------
[openmp] Silence warning when compiling with MSVC targetting x86
This fixes:
```
[3593/7449] Building CXX object projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_debug.cpp.obj
C:\git\llvm-project\openmp\runtime\src\kmp_os.h(471): warning C4163: '_InlineInterlockedExchange64': not available as an intrinsic function
```
Compare: https://github.com/llvm/llvm-project/compare/6fe21bc1dac8...ca0e2417912d
More information about the All-commits
mailing list