You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync with OS commit e49da3383412c8ae51acb09f6f1efdd5760a0733 (#486)
* Sync with c027f28954dcfc8ce4b9040d57b94680cfe72971
* Sync with OS commit 39bc95ee863de17875c268e451901be343c05894
* Fix break
* Sync with OS commit 6e3099ac18718043334c9e8277b772aa1c46cedd
* Format
* Use most recent version of Clang for formatting
* Apparently there was a breaking change in clang-format :(
* Print changes
* Escape parens
* Helps if I run the correct command...
* Revert "Format"
This reverts commit af192f5.
* Update with OS
* Sync with DEEP branch
* Sync with e49da3383412c8ae51acb09f6f1efdd5760a0733
* format
---------
Co-authored-by: Jon Wiswall <jonwis@microsoft.com>
Copy file name to clipboardExpand all lines: include/wil/result_macros.h
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2521,6 +2521,8 @@ namespace details
2521
2521
#if __clang_major__ >= 13
2522
2522
__WI_CLANG_DISABLE_WARNING(-Wunused-but-set-variable) // s_hrErrorLast used for debugging. We intentionally only assign to it
2523
2523
#endif
2524
+
__WI_MSVC_DISABLE_WARNING(4746) // s_hrErrorLast' is subject to /volatile:<iso|ms> setting; consider using __iso_volatile_load/store intrinsic functions
2525
+
2524
2526
__declspec(noinline) inline int RecordException(HRESULT hr) WI_NOEXCEPT
2525
2527
{
2526
2528
static HRESULT volatile s_hrErrorLast = S_OK;
@@ -2602,6 +2604,8 @@ namespace details
2602
2604
returntrue;
2603
2605
}
2604
2606
2607
+
__WI_PUSH_WARNINGS
2608
+
__WI_MSVC_DISABLE_WARNING(4746) // s_fModuleValid' is subject to /volatile:<iso|ms> setting; consider using __iso_volatile_load/store intrinsic functions
0 commit comments