Author: Alexandre Ganea Date: 2024-07-06T12:00:13-04:00 New Revision: 048815c22ae779b1f2a0289b7b28ed8cf54af676
URL: https://github.com/llvm/llvm-project/commit/048815c22ae779b1f2a0289b7b28ed8cf54af676 DIFF: https://github.com/llvm/llvm-project/commit/048815c22ae779b1f2a0289b7b28ed8cf54af676.diff LOG: Revert "[lldb] Silence function cast warning when building with Clang ToT targetting Windows" This reverts commit cf1ded3ac248ad4feeed7b4dd20c60b7e3c40339. Added: Modified: lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp index dc7697f71d6a6f..a69c10081ff190 100644 --- a/lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp @@ -175,11 +175,6 @@ Status TargetThreadWindows::DoResume() { return Status(); } -#if defined(__clang__) -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wcast-function-type-mismatch" -#endif - const char *TargetThreadWindows::GetName() { Log *log = GetLog(LLDBLog::Thread); static GetThreadDescriptionFunctionPtr GetThreadDescription = []() { @@ -205,7 +200,3 @@ const char *TargetThreadWindows::GetName() { return m_name.c_str(); } - -#if defined(__clang__) -#pragma clang diagnostic pop -#endif _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits