[all-commits] [llvm/llvm-project] c5bbf4: [openmp] Remove extra '; ' outside of function
Alexandre Ganea via All-commits
all-commits at lists.llvm.org
Wed Jan 17 04:24:13 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c5bbf40d9836409837696e4d60e94ed2ad3d6a32
https://github.com/llvm/llvm-project/commit/c5bbf40d9836409837696e4d60e94ed2ad3d6a32
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M openmp/libomptarget/src/OpenMP/InteropAPI.cpp
Log Message:
-----------
[openmp] Remove extra ';' outside of function
Fixes:
```
[4038/11058] Building CXX object projects/openmp/libomptarget/src/CMakeFiles/omptarget.dir/OpenMP/InteropAPI.cpp.o
/home/aganea/llvm-project/openmp/libomptarget/src/OpenMP/InteropAPI.cpp:202:2: warning: extra ';' outside of a function is incompatible with C++98 [-Wc++98-compat-extra-semi]
};
^
1 warning generated.
```
Commit: 63a3c4cc85066a5fc44ae7f55d5b42a5708b9724
https://github.com/llvm/llvm-project/commit/63a3c4cc85066a5fc44ae7f55d5b42a5708b9724
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M compiler-rt/lib/orc/coff_platform.cpp
Log Message:
-----------
[compiler-rt] Silence warning with MSVC 19.38 (Visual Studio 2022 17.8.3)
This fixes:
```
C:\git\llvm-project\compiler-rt\lib\orc\coff_platform.cpp(512): warning C4189: 'JDState': local variable is initialized but not referenced
```
Commit: 92f91dde6975a09830a3453f94f05452789c952f
https://github.com/llvm/llvm-project/commit/92f91dde6975a09830a3453f94f05452789c952f
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M third-party/benchmark/src/benchmark.cc
Log Message:
-----------
[third-party] Silence warning on benchmark when building with Clang ToT
fixes:
```
[7409/7446] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\benchmark.cc.obj
C:\git\llvm-project\third-party\benchmark\src\benchmark.cc(172,17): warning: offset of on non-standard-layout type 'State' [-Winvalid-offsetof]
172 | static_assert(offsetof(State, error_occurred_) <=
| ^ ~~~~~~~~~~~~~~~
C:\git\llvm_package_18.0.0\build64_stage0\lib\clang\18\include\__stddef_offsetof.h(11,24): note: expanded from macro 'offsetof'
11 | #define offsetof(t, d) __builtin_offsetof(t, d)
| ^ ~
1 warning generated.
```
Commit: 935c652d07145960124ab1264ed1accc26759401
https://github.com/llvm/llvm-project/commit/935c652d07145960124ab1264ed1accc26759401
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
Log Message:
-----------
[lldb] Silence warning when building with Clang ToT
Fixes:
```
C:\git\llvm-project\lldb\source\Plugins\Process\Windows\Common\x64\RegisterContextWindows_x64.cpp(195,5): warning: missing field 'flags_type' initializer [-Wmissing-field-initializers]
```
Commit: 6f8b633d0b0615c2f46f818b70901d880c205631
https://github.com/llvm/llvm-project/commit/6f8b633d0b0615c2f46f818b70901d880c205631
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
M compiler-rt/lib/profile/InstrProfilingMerge.c
M compiler-rt/lib/profile/InstrProfilingValue.c
Log Message:
-----------
[compiler-rt] Silence warnings when building with Clang ToT
Fixes several warnings such as:
```
C:\git\llvm-project\compiler-rt\lib\profile\InstrProfilingFile.c(760,18): warning: cast from 'const char *' to 'void *' drops const qualifier [-Wcast-qual]
760 | free((void *)lprofCurFilename.FilenamePat);
| ^
3 warnings generated.
```
Commit: 6736cc60ed85e52c26d6643301d45c7d98a85698
https://github.com/llvm/llvm-project/commit/6736cc60ed85e52c26d6643301d45c7d98a85698
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M compiler-rt/lib/orc/wrapper_function_utils.h
Log Message:
-----------
[ORC-RT] Silence warning when building with Clang ToT on Windows
This fixes several of these:
```
[3524/7446] Building CXX object projects\compiler-rt\lib\orc\CMakeFiles\RTOrc.x86_64.dir\dlfcn_wrapper.cpp.obj
In file included from C:\git\llvm-project\compiler-rt\lib\orc\dlfcn_wrapper.cpp:15:
C:\git\llvm-project\compiler-rt\lib\orc\wrapper_function_utils.h(299,27): warning: address of '__orc_rt_jit_dispatch_ctx' will always evaluate to 'true' [-Wpointer-bool-conversion]
299 | if (ORC_RT_UNLIKELY(!&__orc_rt_jit_dispatch_ctx))
| ~ ^~~~~~~~~~~~~~~~~~~~~~~~~
C:\git\llvm-project\compiler-rt\lib\orc\compiler.h(60,55): note: expanded from macro 'ORC_RT_UNLIKELY'
60 | #define ORC_RT_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
| ^~~~
1 warning generated.
```
Commit: 2ce430ab2f2964de2fb278467be7bc39fc296792
https://github.com/llvm/llvm-project/commit/2ce430ab2f2964de2fb278467be7bc39fc296792
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M clang/tools/c-index-test/c-index-test.c
Log Message:
-----------
[clang][tools] Silence const cast warning when building with Clang ToT
This fixes:
```
[4960/7446] Building C object tools\clang\tools\c-index-test\CMakeFiles\c-index-test.dir\c-index-test.c.obj
C:\git\llvm-project\clang\tools\c-index-test\c-index-test.c(49,19): warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
49 | return((char*)path);
| ^
C:\git\llvm-project\clang\tools\c-index-test\c-index-test.c(239,18): warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
239 | free((char *)unsaved_files[i].Filename);
| ^
C:\git\llvm-project\clang\tools\c-index-test\c-index-test.c(240,18): warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
240 | free((char *)unsaved_files[i].Contents);
| ^
```
Commit: 0f62e7ea2c608be525bcf0635d8b58190f93c8c3
https://github.com/llvm/llvm-project/commit/0f62e7ea2c608be525bcf0635d8b58190f93c8c3
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M compiler-rt/test/fuzzer/lit.cfg.py
Log Message:
-----------
[compiler-rt] Fix fuzzer tests on Windows
This fixes a link-time mismatch between the clang_rt.fuzzer-x86_64.lib
and the fuzzer tests, which happen to build with -fsanitize=address.
See: https://learn.microsoft.com/en-us/cpp/sanitizers/error-container-overflow?view=msvc-170
Commit: bd9bec8e78a8f1f4229c18713425406007a92b64
https://github.com/llvm/llvm-project/commit/bd9bec8e78a8f1f4229c18713425406007a92b64
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M compiler-rt/lib/orc/CMakeLists.txt
Log Message:
-----------
[compiler-rt][ORC] Silence warning when building on MSVC/Windows
This fixes (the ORC lib already builds with exceptions disabled):
```
[5/11] Building CXX object projects\compiler-rt\lib\orc\CMakeFiles\RTOrc.x86_64.dir\dlfcn_wrapper.cpp.obj
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\vector(1619): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
```
Commit: 47bd76d80fefdcef13a764dbc4c1f7e8320252dd
https://github.com/llvm/llvm-project/commit/47bd76d80fefdcef13a764dbc4c1f7e8320252dd
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M lldb/source/API/SBTypeFilter.cpp
M lldb/source/API/SBTypeFormat.cpp
M lldb/source/API/SBTypeSummary.cpp
M lldb/source/API/SBTypeSynthetic.cpp
M lldb/source/Core/ModuleList.cpp
Log Message:
-----------
[lldb] Replace deprecated `std::unique_ptr::unique()` to silence a warning with MS-STL. NFC.
MS-STL warns about this with `warning STL4016: std::shared_ptr::unique() is deprecated in C++17`.
Commit: 994e478601bad117057d27b9d1c98c97d21cdf99
https://github.com/llvm/llvm-project/commit/994e478601bad117057d27b9d1c98c97d21cdf99
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Log Message:
-----------
[lldb] Use `LLVM_FALLTHROUGH` to avoid a compiler error when building with MSVC.
Commit: 8ef7aaa637fbf1b0ae1ccfb102c081f58e22444d
https://github.com/llvm/llvm-project/commit/8ef7aaa637fbf1b0ae1ccfb102c081f58e22444d
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
Log Message:
-----------
[lldb] Silence warning with Clang ToT
This fixes `-Wcovered-switch-default` warnings. This is a reminiscent of an old refactoring, see ce03a862372a6f36d2fcf80dc80052aa155fcae8.
Commit: 64874e5ab5fd102344d43ac9465537a44130bf19
https://github.com/llvm/llvm-project/commit/64874e5ab5fd102344d43ac9465537a44130bf19
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_atomic.h
M openmp/runtime/src/kmp_barrier.cpp
M openmp/runtime/src/kmp_dispatch.h
M openmp/runtime/src/kmp_io.cpp
M openmp/runtime/src/kmp_settings.cpp
M openmp/runtime/src/kmp_wait_release.h
M openmp/runtime/src/z_Windows_NT_util.cpp
Log Message:
-----------
[openmp] Silence warnings when building the LLVM release with MSVC
Commit: 61b5bf85f0908b75f736c77f619480094697c435
https://github.com/llvm/llvm-project/commit/61b5bf85f0908b75f736c77f619480094697c435
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M compiler-rt/lib/builtins/fp_extend_impl.inc
Log Message:
-----------
[compiler-rt] On Windows, silence warning when building with latest MSVC
This fixes:
```
[3334/7449] Building C object projects\compiler-rt\lib\builtins\CMakeFiles\clang_rt.builtins-x86_64.dir\extendsfdf2.c.obj
C:\git\llvm-project\compiler-rt\lib\builtins\fp_extend_impl.inc(63): warning C4018: '<': signed/unsigned mismatch
```
Commit: 9110c2b40215e64b8cb95ff83877bd50d4e365d1
https://github.com/llvm/llvm-project/commit/9110c2b40215e64b8cb95ff83877bd50d4e365d1
Author: Alexandre Ganea <alex_toresh at yahoo.fr>
Date: 2024-01-17 (Wed, 17 Jan 2024)
Changed paths:
M lldb/source/Commands/CommandObjectFrame.cpp
Log Message:
-----------
[lldb] On Windows, silence warning with latest MSVC
This fixes:
```
[6083/7449] Building CXX object tools\lldb\source\Commands\CMakeFiles\lldbCommands.dir\CommandObjectFrame.cpp.obj
C:\git\llvm-project\lldb\source\Commands\CommandObjectFrame.cpp(497) : warning C4715: 'CommandObjectFrameVariable::ScopeRequested': not all control paths return a value
```
Compare: https://github.com/llvm/llvm-project/compare/e6bd9835d90c...9110c2b40215
More information about the All-commits
mailing list