[flang-commits] [lldb] [libc] [clang-tools-extra] [compiler-rt] [flang] [clang] [llvm] [lldb][NFC] Fix compilation issue on windows (PR #76453)

via flang-commits flang-commits at lists.llvm.org
Wed Jan 3 11:38:38 PST 2024


https://github.com/gmh5225 updated https://github.com/llvm/llvm-project/pull/76453

>From 362c9380964e13878afae57428028f93bd80d03a Mon Sep 17 00:00:00 2001
From: gmh <13917777+gmh5225 at users.noreply.github.com>
Date: Thu, 28 Dec 2023 01:00:40 +0800
Subject: [PATCH] [lldb][NFC] Fix compilation issue on windows

---
 .../Plugins/Process/Windows/Common/TargetThreadWindows.cpp    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
index ad67e764fe10f2..a69c10081ff190 100644
--- a/lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
+++ b/lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
@@ -29,8 +29,8 @@
 using namespace lldb;
 using namespace lldb_private;
 
-using GetThreadDescriptionFunctionPtr = HRESULT
-WINAPI (*)(HANDLE hThread, PWSTR *ppszThreadDescription);
+using GetThreadDescriptionFunctionPtr =
+    HRESULT(WINAPI *)(HANDLE hThread, PWSTR *ppszThreadDescription);
 
 TargetThreadWindows::TargetThreadWindows(ProcessWindows &process,
                                          const HostThread &thread)



More information about the flang-commits mailing list