aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <aganea@havenstudios.com>2025-09-22 08:41:02 -0400
committerGitHub <noreply@github.com>2025-09-22 08:41:02 -0400
commitda55134db3c82d1169df73f91de2f18b42016045 (patch)
tree0f3d92599e35354af8abe0c4b174432d5da4b6b0 /llvm/lib/Support/Timer.cpp
parente9db38c17673a5183a78c3c2e1765eb018629137 (diff)
downloadllvm-da55134db3c82d1169df73f91de2f18b42016045.zip
llvm-da55134db3c82d1169df73f91de2f18b42016045.tar.gz
llvm-da55134db3c82d1169df73f91de2f18b42016045.tar.bz2
[Support] Fix some warnings in LSP Transport (#160010)
When building with latest MSVC on Windows, this fixes some compile-time warnings from last week's integration in https://github.com/llvm/llvm-project/pull/157885: ``` [321/5941] Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Transport.cpp.obj C:\git\llvm-project\llvm\lib\Support\LSP\Transport.cpp(123): warning C4930: 'std::lock_guard<std::mutex> responseHandlersLock(llvm::lsp::MessageHandler::ResponseHandlerTy)': prototyped function not called (was a variable definition intended?) [384/5941] Building CXX object unittests\Support\LSP\CMakeFiles\LLVMSupportLSPTests.dir\Transport.cpp.obj C:\git\llvm-project\llvm\unittests\Support\LSP\Transport.cpp(190): warning C4804: '+=': unsafe use of type 'bool' in operation ```
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions