File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -482,18 +482,9 @@ static RTL_OSVERSIONINFOEXW GetWindowsVer() {
482
482
HMODULE hMod = ::GetModuleHandleW (L" ntdll.dll" );
483
483
assert (hMod);
484
484
485
- #if defined(__clang__)
486
- #pragma clang diagnostic push
487
- #pragma clang diagnostic ignored "-Wcast-function-type-mismatch"
488
- #endif
489
-
490
485
auto getVer = (RtlGetVersionPtr)::GetProcAddress (hMod, " RtlGetVersion" );
491
486
assert (getVer);
492
487
493
- #if defined(__clang__)
494
- #pragma clang diagnostic pop
495
- #endif
496
-
497
488
RTL_OSVERSIONINFOEXW info{};
498
489
info.dwOSVersionInfoSize = sizeof (info);
499
490
NTSTATUS r = getVer ((PRTL_OSVERSIONINFOW)&info);
Original file line number Diff line number Diff line change @@ -167,11 +167,6 @@ static bool isDebugHelpInitialized() {
167
167
return fStackWalk64 && fSymInitialize && fSymSetOptions && fMiniDumpWriteDump ;
168
168
}
169
169
170
- #if defined(__clang__)
171
- #pragma clang diagnostic push
172
- #pragma clang diagnostic ignored "-Wcast-function-type-mismatch"
173
- #endif
174
-
175
170
static bool load64BitDebugHelp (void ) {
176
171
HMODULE hLib =
177
172
::LoadLibraryExA (" Dbghelp.dll" , NULL , LOAD_LIBRARY_SEARCH_SYSTEM32);
@@ -197,10 +192,6 @@ static bool load64BitDebugHelp(void) {
197
192
return isDebugHelpInitialized ();
198
193
}
199
194
200
- #if defined(__clang__)
201
- #pragma clang diagnostic pop
202
- #endif
203
-
204
195
using namespace llvm ;
205
196
206
197
// Forward declare.
You can’t perform that action at this time.
0 commit comments